| Index: third_party/WebKit/Source/modules/presentation/PresentationConnection.h
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
|
| index 130fbcf2c767afc4a383d0bfe5eeb77d6d543c35..4c1cc29aa6b61f8fd20da702d6475b40a33ce720 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
|
| @@ -11,8 +11,8 @@
|
| #include "core/frame/DOMWindowProperty.h"
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/modules/presentation/WebPresentationConnectionClient.h"
|
| -#include "wtf/OwnPtr.h"
|
| #include "wtf/text/WTFString.h"
|
| +#include <memory>
|
|
|
| namespace WTF {
|
| class AtomicString;
|
| @@ -32,10 +32,10 @@ class PresentationConnection final
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| // For CallbackPromiseAdapter.
|
| - using WebType = OwnPtr<WebPresentationConnectionClient>;
|
| + using WebType = std::unique_ptr<WebPresentationConnectionClient>;
|
|
|
| - static PresentationConnection* take(ScriptPromiseResolver*, PassOwnPtr<WebPresentationConnectionClient>, PresentationRequest*);
|
| - static PresentationConnection* take(PresentationController*, PassOwnPtr<WebPresentationConnectionClient>, PresentationRequest*);
|
| + static PresentationConnection* take(ScriptPromiseResolver*, std::unique_ptr<WebPresentationConnectionClient>, PresentationRequest*);
|
| + static PresentationConnection* take(PresentationController*, std::unique_ptr<WebPresentationConnectionClient>, PresentationRequest*);
|
| ~PresentationConnection() override;
|
|
|
| // EventTarget implementation.
|
|
|