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

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

Issue 701953006: PlzNavigate: Speculatively spawns a renderer process for navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: When navigating checks if the current WebUI can be reused. Created 6 years, 1 month 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/frame_tree.cc
diff --git a/content/browser/frame_host/frame_tree.cc b/content/browser/frame_host/frame_tree.cc
index b1ccf6f9c796d17b899eb5f90bbc2681508c5f93..525dece1542c1e1269d402d2ef2f471d0ac260d1 100644
--- a/content/browser/frame_host/frame_tree.cc
+++ b/content/browser/frame_host/frame_tree.cc
@@ -205,11 +205,8 @@ void FrameTree::CreateProxiesForSiteInstance(
RenderViewHostImpl* render_view_host =
source->frame_tree()->GetRenderViewHost(site_instance);
if (!render_view_host) {
- root()->render_manager()->CreateRenderFrame(site_instance,
- MSG_ROUTING_NONE,
- true,
- false,
- true);
+ root()->render_manager()->CreateSwappedOutHiddenRenderFrame(
+ site_instance, MSG_ROUTING_NONE, false);
}
}
« no previous file with comments | « no previous file | content/browser/frame_host/navigator_impl.cc » ('j') | content/browser/frame_host/navigator_impl_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698