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

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

Issue 2857213005: PlzNavigate: implement process reuse for ServiceWorkers (Closed)
Patch Set: Fix 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 61ee436568545c0c9496d2c10deede33d92c12d4..0f7db6e7ed712773c8badf318d0c1f688669d216 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -729,6 +729,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