Index: content/browser/service_worker/service_worker_controllee_request_handler.cc |
diff --git a/content/browser/service_worker/service_worker_controllee_request_handler.cc b/content/browser/service_worker/service_worker_controllee_request_handler.cc |
index 50e8145cb61ee1ad8d1efa6c85e41636187e7b65..83ab7c3eb5d2f52ad63228e9fa352e7ff958662e 100644 |
--- a/content/browser/service_worker/service_worker_controllee_request_handler.cc |
+++ b/content/browser/service_worker/service_worker_controllee_request_handler.cc |
@@ -26,6 +26,8 @@ ServiceWorkerControlleeRequestHandler::ServiceWorkerControlleeRequestHandler( |
FetchRequestMode request_mode, |
FetchCredentialsMode credentials_mode, |
ResourceType resource_type, |
+ RequestContextType request_context_type, |
+ RequestContextFrameType frame_type, |
scoped_refptr<ResourceRequestBody> body) |
: ServiceWorkerRequestHandler(context, |
provider_host, |
@@ -35,6 +37,8 @@ ServiceWorkerControlleeRequestHandler::ServiceWorkerControlleeRequestHandler( |
ServiceWorkerUtils::IsMainResourceType(resource_type)), |
request_mode_(request_mode), |
credentials_mode_(credentials_mode), |
+ request_context_type_(request_context_type), |
+ frame_type_(frame_type), |
body_(body), |
weak_factory_(this) { |
} |
@@ -86,6 +90,8 @@ net::URLRequestJob* ServiceWorkerControlleeRequestHandler::MaybeCreateJob( |
blob_storage_context_, |
request_mode_, |
credentials_mode_, |
+ request_context_type_, |
+ frame_type_, |
body_); |
if (is_main_resource_load_) |
PrepareForMainResource(request->url()); |