Index: content/child/service_worker/web_service_worker_provider_impl.cc |
diff --git a/content/child/service_worker/web_service_worker_provider_impl.cc b/content/child/service_worker/web_service_worker_provider_impl.cc |
index 7115561287456dbb3324f307aed4ebf27f5e2680..5b6edbff80fa45c45105718a9d3b62e1a9ddf50d 100644 |
--- a/content/child/service_worker/web_service_worker_provider_impl.cc |
+++ b/content/child/service_worker/web_service_worker_provider_impl.cc |
@@ -47,21 +47,6 @@ void WebServiceWorkerProviderImpl::setClient( |
// for more context) |
GetDispatcher()->AddScriptClient(provider_id_, client); |
- if (context_->installing_handle_id() != kInvalidServiceWorkerHandleId) { |
- client->setInstalling(GetDispatcher()->GetServiceWorker( |
- context_->installing()->info(), false)); |
- } |
- |
- if (context_->waiting_handle_id() != kInvalidServiceWorkerHandleId) { |
- client->setWaiting(GetDispatcher()->GetServiceWorker( |
- context_->waiting()->info(), false)); |
- } |
- |
- if (context_->active_handle_id() != kInvalidServiceWorkerHandleId) { |
- client->setActive(GetDispatcher()->GetServiceWorker( |
- context_->active()->info(), false)); |
- } |
- |
if (context_->controller_handle_id() != kInvalidServiceWorkerHandleId) { |
client->setController(GetDispatcher()->GetServiceWorker( |
context_->controller()->info(), false)); |