Index: content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc |
diff --git a/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc b/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc |
index 30daf4999e122f7a5c61a3e08cdb0e936cde56fd..331c858f90b9a8bb5b6f75b6b31af09547bbf82f 100644 |
--- a/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc |
+++ b/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc |
@@ -185,14 +185,17 @@ void NavigatorConnectServiceWorkerServiceFactory::OnConnectResult( |
DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (status != SERVICE_WORKER_OK || !accept_connection) { |
- callback.Run(nullptr); |
+ callback.Run(nullptr, false); |
return; |
} |
- // TODO(mek): Keep track of NavigatorConnectServiceWorkerService instances and |
- // clean them up when a service worker registration is deleted. |
- callback.Run(new NavigatorConnectServiceWorkerService( |
- service_worker_context_, client, service_worker_registration)); |
+ // TODO(mek): http://crbug.com/462744 Keep track of these |
+ // NavigatorConnectServiceWorkerService instances and clean them up when a |
+ // service worker registration is deleted. |
+ callback.Run( |
+ new NavigatorConnectServiceWorkerService(service_worker_context_, client, |
+ service_worker_registration), |
+ false); |
} |
} // namespace content |