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

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

Issue 2446553002: Support Service Worker NavigationPreload with PlzNavigate. (Closed)
Patch Set: remove unnecessary comment Created 4 years, 2 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 ddbc83136f8991d8655256ef4630aaa3bf83e05c..61efe39d223f8ab502af70b7f4d532272fcc7f4c 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -494,7 +494,9 @@ void NavigationRequest::OnStartChecksComplete(
ServiceWorkerContextWrapper* service_worker_context =
static_cast<ServiceWorkerContextWrapper*>(
partition->GetServiceWorkerContext());
- navigation_handle_->InitServiceWorkerHandle(service_worker_context);
+ navigation_handle_->InitServiceWorkerHandle(
+ service_worker_context,
+ navigating_frame_host->GetProcess()->CreateURLLoaderFactoryGetter());
}
// Mark the fetch_start (Navigation Timing API).

Powered by Google App Engine
This is Rietveld 408576698