Index: content/renderer/service_worker/service_worker_context_client.cc |
diff --git a/content/renderer/service_worker/service_worker_context_client.cc b/content/renderer/service_worker/service_worker_context_client.cc |
index d35286ebcc15b3e2c8294167d9738f1d9ea9483f..5dab871f41a39fd352119e93e29f00092a26149f 100644 |
--- a/content/renderer/service_worker/service_worker_context_client.cc |
+++ b/content/renderer/service_worker/service_worker_context_client.cc |
@@ -100,6 +100,8 @@ class WebServiceWorkerNetworkProviderImpl |
// Service workers are only available in secure contexts, so all requests |
// are initiated in a secure context. |
extra_data->set_initiated_in_secure_context(true); |
+ extra_data->set_url_loader_factory_override( |
+ provider_->script_loader_factory()); |
request.SetExtraData(extra_data.release()); |
} |