Index: content/browser/service_worker/service_worker_dispatcher_host.cc |
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.cc b/content/browser/service_worker/service_worker_dispatcher_host.cc |
index 49f3c8394f89c08886e254295bc6107e8080c92c..a1bfa90f2b77a0225682c26194b4d406f7ac6e2b 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.cc |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.cc |
@@ -209,6 +209,11 @@ ServiceWorkerDispatcherHost::GetOrCreateRegistrationHandle( |
return handle; |
} |
+ServiceWorkerRegistrationHandle* |
+ServiceWorkerDispatcherHost::GetRegistrationHandle(int registration_handle_id) { |
+ return registration_handles_.Lookup(registration_handle_id); |
+} |
+ |
void ServiceWorkerDispatcherHost::RegisterServiceWorkerHandle( |
scoped_ptr<ServiceWorkerHandle> handle) { |
int handle_id = handle->handle_id(); |