Index: content/child/service_worker/service_worker_dispatcher.cc |
diff --git a/content/child/service_worker/service_worker_dispatcher.cc b/content/child/service_worker/service_worker_dispatcher.cc |
index fce8783f92a32de78ef49bb677e70adc834b9bd4..b632537bf20294d5ece4886fc96aa3f45544208b 100644 |
--- a/content/child/service_worker/service_worker_dispatcher.cc |
+++ b/content/child/service_worker/service_worker_dispatcher.cc |
@@ -346,11 +346,11 @@ void ServiceWorkerDispatcher::OnDisassociateRegistration( |
ProviderContextMap::iterator provider = provider_contexts_.find(provider_id); |
if (provider == provider_contexts_.end()) |
return; |
- provider->second->OnDisassociateRegistration(); |
worker_to_provider_.erase(provider->second->installing_handle_id()); |
worker_to_provider_.erase(provider->second->waiting_handle_id()); |
worker_to_provider_.erase(provider->second->active_handle_id()); |
worker_to_provider_.erase(provider->second->controller_handle_id()); |
+ provider->second->OnDisassociateRegistration(); |
} |
void ServiceWorkerDispatcher::OnRegistered( |