| Index: content/child/service_worker/web_service_worker_registration_impl.cc
|
| diff --git a/content/child/service_worker/web_service_worker_registration_impl.cc b/content/child/service_worker/web_service_worker_registration_impl.cc
|
| index 1897c5b3278292e413a21d6726b5db331d81c40c..41d4ef6a3ede75b0c95eb44c29b65b01bbe9936a 100644
|
| --- a/content/child/service_worker/web_service_worker_registration_impl.cc
|
| +++ b/content/child/service_worker/web_service_worker_registration_impl.cc
|
| @@ -7,6 +7,7 @@
|
| #include <utility>
|
|
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "content/child/service_worker/service_worker_dispatcher.h"
|
| #include "content/child/service_worker/service_worker_registration_handle_reference.h"
|
| #include "content/child/service_worker/web_service_worker_impl.h"
|
| @@ -149,12 +150,12 @@ int64_t WebServiceWorkerRegistrationImpl::registration_id() const {
|
| }
|
|
|
| // static
|
| -blink::WebPassOwnPtr<blink::WebServiceWorkerRegistration::Handle>
|
| +std::unique_ptr<blink::WebServiceWorkerRegistration::Handle>
|
| WebServiceWorkerRegistrationImpl::CreateHandle(
|
| const scoped_refptr<WebServiceWorkerRegistrationImpl>& registration) {
|
| if (!registration)
|
| return nullptr;
|
| - return blink::adoptWebPtr(new HandleImpl(registration));
|
| + return base::WrapUnique(new HandleImpl(registration));
|
| }
|
|
|
| blink::WebServiceWorkerRegistration::Handle*
|
|
|