| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerWindowClient.h
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerWindowClient.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerWindowClient.h
|
| index c0c714f2f173574ecfb76eb8f8435e6c909f9bd2..8ecc696afaaaba566d4a7f9ecda2a0e763220019 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerWindowClient.h
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerWindowClient.h
|
| @@ -10,8 +10,7 @@
|
| #include "modules/serviceworkers/ServiceWorkerClient.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/Forward.h"
|
| -#include "wtf/OwnPtr.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -22,9 +21,9 @@ class MODULES_EXPORT ServiceWorkerWindowClient final : public ServiceWorkerClien
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| // To be used by CallbackPromiseAdapter.
|
| - using WebType = OwnPtr<WebServiceWorkerClientInfo>;
|
| + using WebType = std::unique_ptr<WebServiceWorkerClientInfo>;
|
|
|
| - static ServiceWorkerWindowClient* take(ScriptPromiseResolver*, PassOwnPtr<WebServiceWorkerClientInfo>);
|
| + static ServiceWorkerWindowClient* take(ScriptPromiseResolver*, std::unique_ptr<WebServiceWorkerClientInfo>);
|
|
|
| static ServiceWorkerWindowClient* create(const WebServiceWorkerClientInfo&);
|
| ~ServiceWorkerWindowClient() override;
|
|
|