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

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

Issue 615633005: PlzNavigate: Move the navigation logic to NavigatorImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@commit-nav
Patch Set: Addressed comments + moved unittests Created 6 years, 3 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/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index bf8ce2b3eeb1be58f253124870d4a2f7e376aba9..40d449bece0d087db89954de850e1f7e578f3e9f 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1056,7 +1056,8 @@ void RenderFrameHostImpl::OnBeginNavigation(
const CommonNavigationParams& common_params) {
CHECK(CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableBrowserSideNavigation));
- frame_tree_node()->render_manager()->OnBeginNavigation(params, common_params);
+ frame_tree_node()->navigator()->OnBeginNavigation(
+ frame_tree_node(), params, common_params);
}
void RenderFrameHostImpl::OnAccessibilityEvents(

Powered by Google App Engine
This is Rietveld 408576698