Chromium Code Reviews| Index: content/browser/frame_host/navigator_impl.cc |
| diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc |
| index 547c5515f8f740f20db596244f4265a34057b461..92bd2abc5cef12214577bb2fcb4050353f262c09 100644 |
| --- a/content/browser/frame_host/navigator_impl.cc |
| +++ b/content/browser/frame_host/navigator_impl.cc |
| @@ -409,11 +409,8 @@ bool NavigatorImpl::NavigateToEntry( |
| } |
| // Notify observers about navigation. |
| - if (delegate_) { |
| - delegate_->DidStartNavigationToPendingEntry(dest_render_frame_host, |
| - entry.GetURL(), |
| - reload_type); |
| - } |
| + if (delegate_) |
| + delegate_->DidStartNavigationToPendingEntry(entry.GetURL(), reload_type); |
| return true; |
| } |
| @@ -859,6 +856,9 @@ void NavigatorImpl::RequestNavigation( |
| navigation_request_map_.get(frame_tree_node_id); |
| request_to_send->SetWaitingForRendererResponse(); |
| frame_tree_node->current_frame_host()->DispatchBeforeUnload(true); |
| + |
| + if (delegate_) |
|
clamy
2015/02/23 10:52:34
As in the comment in the header file, I don't thin
carlosk
2015/03/04 19:42:40
Change was moved to another CL.
|
| + delegate_->DidStartNavigationToPendingEntry(entry.GetURL(), reload_type); |
| } |
| void NavigatorImpl::BeginNavigation(FrameTreeNode* frame_tree_node) { |