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

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

Issue 717353004: ServiceWorker: Add support for .skipWaiting and controllerchange event(2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase & add should_notify_controllerchange Created 6 years, 1 month 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
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 ef46bf8cc1932af5cc4730e21a5d1f4cc84ba648..c689b8afa1d3849c54559cc78975360c328d2e18 100644
--- a/content/child/service_worker/web_service_worker_provider_impl.cc
+++ b/content/child/service_worker/web_service_worker_provider_impl.cc
@@ -75,7 +75,7 @@ void WebServiceWorkerProviderImpl::setClient(
if (context_->controller_handle_id() != kInvalidServiceWorkerHandleId) {
client->setController(GetDispatcher()->GetServiceWorker(
- context_->controller()->info(), false));
+ context_->controller()->info(), false), false);
falken 2014/12/01 02:29:59 nit: add /* shouldNotifyControllerChange */ next t
xiang 2014/12/01 07:20:07 Done.
}
}

Powered by Google App Engine
This is Rietveld 408576698