Commit 4415313c authored by dmazzoni@chromium.org's avatar dmazzoni@chromium.org

Call DidStartNavigationToPendingEntry with correct argument.

Calling it with render_frame_host is wrong because that object
might have been deleted above. Only dest_render_frame_host is valid
at this point.

BUG=393032
TBR=nasko

Review URL: https://codereview.chromium.org/380413002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282796 0039d316-1c4b-4281-b951-d872f2087c98
parent 073a22b6
...@@ -388,7 +388,7 @@ bool NavigatorImpl::NavigateToEntry( ...@@ -388,7 +388,7 @@ bool NavigatorImpl::NavigateToEntry(
// Notify observers about navigation. // Notify observers about navigation.
if (delegate_) { if (delegate_) {
delegate_->DidStartNavigationToPendingEntry(render_frame_host, delegate_->DidStartNavigationToPendingEntry(dest_render_frame_host,
entry.GetURL(), entry.GetURL(),
reload_type); reload_type);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment