| 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 ee05de9f98a4ff2163e3e94035ce288ee8eab04c..ea1d2b9f8c8600f0b7bfd8b7d0fd3ce6bdd9cb44 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.cpp
|
| @@ -21,9 +21,9 @@ PresentationConnectionCallbacks::PresentationConnectionCallbacks(ScriptPromiseRe
|
| ASSERT(m_request);
|
| }
|
|
|
| -void PresentationConnectionCallbacks::onSuccess(WebPassOwnPtr<WebPresentationConnectionClient> PresentationConnectionClient)
|
| +void PresentationConnectionCallbacks::onSuccess(std::unique_ptr<WebPresentationConnectionClient> PresentationConnectionClient)
|
| {
|
| - OwnPtr<WebPresentationConnectionClient> result(PresentationConnectionClient.release());
|
| + OwnPtr<WebPresentationConnectionClient> result(adoptPtr(PresentationConnectionClient.release()));
|
|
|
| if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| return;
|
|
|