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

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

Issue 2803673006: PlzNavigate: ensure we don't create extra-processes for ServiceWorkers (Closed)
Patch Set: Created 3 years, 8 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_manager.cc
diff --git a/content/browser/frame_host/render_frame_host_manager.cc b/content/browser/frame_host/render_frame_host_manager.cc
index 5ae522b0a7b448c1cf8ab395d06544110703e08e..a925d12a43f1a3134d1b158dd7fbdabce64342ba 100644
--- a/content/browser/frame_host/render_frame_host_manager.cc
+++ b/content/browser/frame_host/render_frame_host_manager.cc
@@ -687,6 +687,7 @@ void RenderFrameHostManager::DidCreateNavigationRequest(
NavigationRequest* request) {
CHECK(IsBrowserSideNavigationEnabled());
RenderFrameHostImpl* dest_rfh = GetFrameHostForNavigation(*request);
+ dest_rfh->GetSiteInstance()->UsedFor(request->common_params().url);
DCHECK(dest_rfh);
request->set_associated_site_instance_type(
dest_rfh == render_frame_host_.get()
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/service_worker/service_worker_process_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698