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