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 0a30cfbb25c612454d851c7cfcfe20f34762a9f7..77116f324fd5a65ca7e6bedbd32e5f739aa81488 100644 |
--- a/content/child/service_worker/service_worker_dispatcher.cc |
+++ b/content/child/service_worker/service_worker_dispatcher.cc |
@@ -323,11 +323,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( |