| Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| index b3cfe304efd812086247ac866261cfbf2a3b1291..2983d672cfa5ba623a798caa1ea4acdc733814be 100644
|
| --- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| @@ -34,7 +34,7 @@
|
| #include "public/platform/WebURL.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h"
|
| #include "public/web/modules/serviceworker/WebServiceWorkerContextClient.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -122,14 +122,14 @@ void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID, Web
|
| m_client.didHandleSyncEvent(syncEventID, result);
|
| }
|
|
|
| -void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(const WebString& clientUUID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray> webChannels)
|
| +void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(const WebString& clientUUID, const WebString& message, std::unique_ptr<WebMessagePortChannelArray> webChannels)
|
| {
|
| - m_client.postMessageToClient(clientUUID, message, webChannels.leakPtr());
|
| + m_client.postMessageToClient(clientUUID, message, webChannels.release());
|
| }
|
|
|
| -void ServiceWorkerGlobalScopeClientImpl::postMessageToCrossOriginClient(const WebCrossOriginServiceWorkerClient& client, const WebString& message, PassOwnPtr<WebMessagePortChannelArray> webChannels)
|
| +void ServiceWorkerGlobalScopeClientImpl::postMessageToCrossOriginClient(const WebCrossOriginServiceWorkerClient& client, const WebString& message, std::unique_ptr<WebMessagePortChannelArray> webChannels)
|
| {
|
| - m_client.postMessageToCrossOriginClient(client, message, webChannels.leakPtr());
|
| + m_client.postMessageToCrossOriginClient(client, message, webChannels.release());
|
| }
|
|
|
| void ServiceWorkerGlobalScopeClientImpl::skipWaiting(WebServiceWorkerSkipWaitingCallbacks* callbacks)
|
|
|