| 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 d20bbbeccb9632608427b84494cb44d8d74251b6..44d5b796cc17791de8f48d6c013f442d26eb09ab 100644
|
| --- a/content/browser/service_worker/service_worker_dispatcher_host.cc
|
| +++ b/content/browser/service_worker/service_worker_dispatcher_host.cc
|
| @@ -376,11 +376,20 @@ void ServiceWorkerDispatcherHost::RegistrationComplete(
|
| new ServiceWorkerRegistrationHandle(
|
| GetContext()->AsWeakPtr(), this, provider_id, registration));
|
| info = new_handle->GetObjectInfo();
|
| + handle = new_handle.get();
|
| RegisterServiceWorkerRegistrationHandle(new_handle.Pass());
|
| }
|
|
|
| + ServiceWorkerVersionAttributes attrs;
|
| + attrs.installing = handle->CreateServiceWorkerHandleAndPass(
|
| + registration->installing_version());
|
| + attrs.waiting = handle->CreateServiceWorkerHandleAndPass(
|
| + registration->waiting_version());
|
| + attrs.active = handle->CreateServiceWorkerHandleAndPass(
|
| + registration->active_version());
|
| +
|
| Send(new ServiceWorkerMsg_ServiceWorkerRegistered(
|
| - thread_id, request_id, info));
|
| + thread_id, request_id, info, attrs));
|
| }
|
|
|
| void ServiceWorkerDispatcherHost::OnWorkerReadyForInspection(
|
|
|