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

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

Issue 2857213005: PlzNavigate: implement process reuse for ServiceWorkers (Closed)
Patch Set: Fixed compilation error Created 3 years, 7 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/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index c664d7939f9c5c303876f800d3f66d1729559f4b..5c95672d797df8d54fb6ad752d4d6902292b957b 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -727,6 +727,9 @@ void NavigationRequest::OnStartChecksComplete(
: frame_tree_node_->current_frame_host();
DCHECK(navigating_frame_host);
+ navigation_handle_->SetSpeculativeProcess(
+ navigating_frame_host->GetProcess());
+
BrowserContext* browser_context =
frame_tree_node_->navigator()->GetController()->GetBrowserContext();
StoragePartition* partition = BrowserContext::GetStoragePartition(

Powered by Google App Engine
This is Rietveld 408576698