Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Unified Diff: content/child/service_worker/service_worker_dispatcher.cc

Issue 249143002: ServiceWorker: Let the proxy drive state change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/child/service_worker/web_service_worker_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 100693bdd6ecbe02d43e88cd183031aeb80c5c00..d8ac46e89ebbaa8cbbbcbb1f53b10fea2e09062d 100644
--- a/content/child/service_worker/service_worker_dispatcher.cc
+++ b/content/child/service_worker/service_worker_dispatcher.cc
@@ -198,7 +198,7 @@ void ServiceWorkerDispatcher::OnServiceWorkerStateChanged(
ServiceWorkerMap::iterator found = service_workers_.find(handle_id);
if (found == service_workers_.end())
return;
- found->second->SetState(state);
+ found->second->OnStateChanged(state);
}
void ServiceWorkerDispatcher::OnSetCurrentServiceWorker(
« no previous file with comments | « no previous file | content/child/service_worker/web_service_worker_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698