Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 946543003: PlzNavigate: have renderer-initiated navigations be same-process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Integrating changes from other refactors and fully fixing affected tests. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 72f9f8702c8fa0509b62e2bbdbf6a67661c0bf9e..1bab14d4ba73d7f8d03a53d809fdb2558e368b27 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -853,6 +853,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/03/05 10:44:04 This does not seem related to the change at hand (
carlosk 2015/03/06 11:55:03 Yes, I noticed the apparent oddness of this before
+ delegate_->DidStartNavigationToPendingEntry(entry.GetURL(), reload_type);
}
void NavigatorImpl::BeginNavigation(FrameTreeNode* frame_tree_node) {

Powered by Google App Engine
This is Rietveld 408576698