| Index: content/child/service_worker/service_worker_dispatcher.cc
|
| diff --git a/content/child/service_worker/service_worker_dispatcher.cc b/content/child/service_worker/service_worker_dispatcher.cc
|
| index 54260873328ec5c54bbea7d39f8c42dd4d586d52..832395a29fe1b32faff2df56a81a52ebb709bcb4 100644
|
| --- a/content/child/service_worker/service_worker_dispatcher.cc
|
| +++ b/content/child/service_worker/service_worker_dispatcher.cc
|
| @@ -300,7 +300,7 @@ ServiceWorkerDispatcher::GetOrCreateRegistration(
|
| registration->SetActive(
|
| GetOrCreateServiceWorker(ServiceWorkerHandleReference::Create(
|
| attrs.active, thread_safe_sender_.get())));
|
| - return registration.Pass();
|
| + return registration;
|
| }
|
|
|
| scoped_refptr<WebServiceWorkerRegistrationImpl>
|
| @@ -325,7 +325,7 @@ ServiceWorkerDispatcher::GetOrAdoptRegistration(
|
| registration->SetInstalling(GetOrCreateServiceWorker(installing_ref.Pass()));
|
| registration->SetWaiting(GetOrCreateServiceWorker(waiting_ref.Pass()));
|
| registration->SetActive(GetOrCreateServiceWorker(active_ref.Pass()));
|
| - return registration.Pass();
|
| + return registration;
|
| }
|
|
|
| void ServiceWorkerDispatcher::OnAssociateRegistration(
|
|
|