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 8fd4855a4a6b35b0bba560b0ae0f4ab832afefd3..907f36b3359f1be03df5a82bed4ad8f76a94e489 100644 |
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
@@ -159,8 +159,8 @@ void ServiceWorkerGlobalScopeClientImpl::didHandlePaymentRequestEvent( |
void ServiceWorkerGlobalScopeClientImpl::postMessageToClient( |
const WebString& clientUUID, |
const WebString& message, |
- std::unique_ptr<WebMessagePortChannelArray> webChannels) { |
- m_client.postMessageToClient(clientUUID, message, webChannels.release()); |
+ WebMessagePortChannelArray webChannels) { |
+ m_client.postMessageToClient(clientUUID, message, std::move(webChannels)); |
} |
void ServiceWorkerGlobalScopeClientImpl::skipWaiting( |