Index: content/browser/service_worker/service_worker_context_watcher.cc |
diff --git a/content/browser/service_worker/service_worker_context_watcher.cc b/content/browser/service_worker/service_worker_context_watcher.cc |
index 3dd810aef245f410e03e2b90b0e3649a21755d01..98d4fc248e8536d31964cfc5184e7ca2203506f3 100644 |
--- a/content/browser/service_worker/service_worker_context_watcher.cc |
+++ b/content/browser/service_worker/service_worker_context_watcher.cc |
@@ -276,13 +276,14 @@ void ServiceWorkerContextWatcher::OnControlleeAdded( |
const std::string& uuid, |
int process_id, |
int route_id, |
+ const base::Callback<WebContents*(void)>& web_contents_getter, |
ServiceWorkerProviderType type) { |
auto it = version_info_map_.find(version_id); |
if (it == version_info_map_.end()) |
return; |
ServiceWorkerVersionInfo* version = it->second.get(); |
- version->clients[uuid] = |
- ServiceWorkerVersionInfo::ClientInfo(process_id, route_id, type); |
+ version->clients[uuid] = ServiceWorkerVersionInfo::ClientInfo( |
+ process_id, route_id, web_contents_getter, type); |
SendVersionInfo(*version); |
} |