| Index: third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.cpp
|
| diff --git a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.cpp b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.cpp
|
| index b36197e69aa69fe9425c189cf8a37c709d36c5f7..bce85d2b6bf986bcc7bb7087af9743de1f0449b6 100644
|
| --- a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.cpp
|
| +++ b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.cpp
|
| @@ -24,12 +24,12 @@ PushSubscriptionCallbacks::~PushSubscriptionCallbacks()
|
| {
|
| }
|
|
|
| -void PushSubscriptionCallbacks::onSuccess(WebPassOwnPtr<WebPushSubscription> webPushSubscription)
|
| +void PushSubscriptionCallbacks::onSuccess(std::unique_ptr<WebPushSubscription> webPushSubscription)
|
| {
|
| if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| return;
|
|
|
| - m_resolver->resolve(PushSubscription::take(m_resolver.get(), webPushSubscription.release(), m_serviceWorkerRegistration));
|
| + m_resolver->resolve(PushSubscription::take(m_resolver.get(), adoptPtr(webPushSubscription.release()), m_serviceWorkerRegistration));
|
| }
|
|
|
| void PushSubscriptionCallbacks::onError(const WebPushError& error)
|
|
|