| Index: third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.cpp
|
| index a9d211b266d78846d01de54b18ac015d553d23c9..e9511d1eea014d8d3adab55a5958272aa00b86b6 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.cpp
|
| @@ -10,6 +10,8 @@
|
| #include "modules/presentation/PresentationRequest.h"
|
| #include "public/platform/modules/presentation/WebPresentationConnectionClient.h"
|
| #include "public/platform/modules/presentation/WebPresentationError.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -23,7 +25,7 @@ PresentationConnectionCallbacks::PresentationConnectionCallbacks(ScriptPromiseRe
|
|
|
| void PresentationConnectionCallbacks::onSuccess(std::unique_ptr<WebPresentationConnectionClient> PresentationConnectionClient)
|
| {
|
| - OwnPtr<WebPresentationConnectionClient> result(adoptPtr(PresentationConnectionClient.release()));
|
| + std::unique_ptr<WebPresentationConnectionClient> result(wrapUnique(PresentationConnectionClient.release()));
|
|
|
| if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| return;
|
|
|