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 fbf1e310b61eab2100b59839b9abaa2949c295f4..6df0360bca9ace21bd55bde072f0a83ea962a856 100644 |
--- a/content/child/service_worker/service_worker_dispatcher.cc |
+++ b/content/child/service_worker/service_worker_dispatcher.cc |
@@ -315,9 +315,6 @@ ServiceWorkerDispatcher::AdoptRegistration( |
// We can assume that this message handler is called before the worker context |
// starts because script loading happens after this association. |
-// TODO(nhiroki): This association information could be pushed into |
-// EmbeddedWorkerMsg_StartWorker message and handed over to the worker thread |
-// without a lock in ServiceWorkerProviderContext. |
void ServiceWorkerDispatcher::OnAssociateRegistrationWithServiceWorker( |
int thread_id, |
int provider_id, |
@@ -329,9 +326,6 @@ void ServiceWorkerDispatcher::OnAssociateRegistrationWithServiceWorker( |
if (context == provider_contexts_.end()) |
return; |
context->second->OnAssociateRegistration(info, attrs); |
- |
- // We don't have to add entries into |worker_to_provider_| because state |
- // change events for the workers will be notified on the worker thread. |
} |
void ServiceWorkerDispatcher::OnAssociateRegistration( |