| Index: content/renderer/service_worker/service_worker_context_client.cc
|
| diff --git a/content/renderer/service_worker/service_worker_context_client.cc b/content/renderer/service_worker/service_worker_context_client.cc
|
| index 8559612a7648ad8f26217602ebd5c6ad889e4d83..28bec5a094502621785f236a698faaefc9d6f957 100644
|
| --- a/content/renderer/service_worker/service_worker_context_client.cc
|
| +++ b/content/renderer/service_worker/service_worker_context_client.cc
|
| @@ -671,14 +671,7 @@ void ServiceWorkerContextClient::SetRegistrationInServiceWorkerGlobalScope() {
|
| // Register a registration and its version attributes with the dispatcher
|
| // living on the worker thread.
|
| scoped_ptr<WebServiceWorkerRegistrationImpl> registration(
|
| - dispatcher->CreateServiceWorkerRegistration(info, false));
|
| - registration->SetInstalling(
|
| - dispatcher->GetServiceWorker(attrs.installing, false));
|
| - registration->SetWaiting(
|
| - dispatcher->GetServiceWorker(attrs.waiting, false));
|
| - registration->SetActive(
|
| - dispatcher->GetServiceWorker(attrs.active, false));
|
| -
|
| + dispatcher->CreateRegistration(info, attrs, false));
|
| proxy_->setRegistration(registration.release());
|
| }
|
|
|
|
|