Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
index 0e458ccfd6f99ce3f52a442981c4733d417b116d..4805bf94adb72b94385935d1d69b402f9f538df2 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
@@ -66,9 +66,9 @@ public: |
: m_resolver(resolver) { } |
~GetCallback() override { } |
- void onSuccess(WebPassOwnPtr<WebServiceWorkerClientInfo> webClient) override |
+ void onSuccess(std::unique_ptr<WebServiceWorkerClientInfo> webClient) override |
{ |
- OwnPtr<WebServiceWorkerClientInfo> client = webClient.release(); |
+ OwnPtr<WebServiceWorkerClientInfo> client = adoptPtr(webClient.release()); |
if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped()) |
return; |
if (!client) { |