Index: content/child/service_worker/service_worker_network_provider.cc |
diff --git a/content/child/service_worker/service_worker_network_provider.cc b/content/child/service_worker/service_worker_network_provider.cc |
index 19c50777ed32e4587226354e5fc65f3088919be3..e31fb56f26758c81a74e659abb0def270eff93d9 100644 |
--- a/content/child/service_worker/service_worker_network_provider.cc |
+++ b/content/child/service_worker/service_worker_network_provider.cc |
@@ -216,6 +216,10 @@ ServiceWorkerNetworkProvider::ServiceWorkerNetworkProvider( |
std::move(info->client_request), |
ChildThreadImpl::current()->thread_safe_sender()); |
+ if (info->script_loader_factory_ptr_info.is_valid()) |
+ script_loader_factory_.Bind( |
+ std::move(info->script_loader_factory_ptr_info)); |
+ |
ServiceWorkerDispatcher* dispatcher = |
ServiceWorkerDispatcher::GetOrCreateThreadSpecificInstance( |
ChildThreadImpl::current()->thread_safe_sender(), |