| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
|
| index 4a2419df5717ba0034290a8e42680443c546d7ad..b847b728cf530742447edfa0e46200ad64c748f1 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
|
| @@ -12,6 +12,7 @@
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h"
|
| #include "wtf/Forward.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -23,9 +24,9 @@ class MODULES_EXPORT ServiceWorkerClient : public GarbageCollectedFinalized<Serv
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| // To be used by CallbackPromiseAdapter.
|
| - using WebType = OwnPtr<WebServiceWorkerClientInfo>;
|
| + using WebType = std::unique_ptr<WebServiceWorkerClientInfo>;
|
|
|
| - static ServiceWorkerClient* take(ScriptPromiseResolver*, PassOwnPtr<WebServiceWorkerClientInfo>);
|
| + static ServiceWorkerClient* take(ScriptPromiseResolver*, std::unique_ptr<WebServiceWorkerClientInfo>);
|
| static ServiceWorkerClient* create(const WebServiceWorkerClientInfo&);
|
|
|
| virtual ~ServiceWorkerClient();
|
|
|