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

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

Issue 701953006: PlzNavigate: Speculatively spawns a renderer process for navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and changes from CR comments. Created 6 years 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 e71c219091b1ee53ef930b4c34033ecd2f4ba380..e112ba0113edcd19c6c6a580a5cef86c47d0365f 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1398,6 +1398,8 @@ void RenderFrameHostImpl::CommitNavigation(
// TODO(clamy): Check if we have to add security checks for the browser plugin
// guests.
+ SetState(RenderFrameHostImpl::STATE_DEFAULT);
clamy 2014/12/16 15:22:48 Could you add the comment that is present in Rende
carlosk 2014/12/19 04:27:14 Done.
+
Send(new FrameMsg_CommitNavigation(
routing_id_, response->head, body->GetURL(),
common_params, commit_params));

Powered by Google App Engine
This is Rietveld 408576698