Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add missing ScopedAsyncTaskScheduler instance for the new unit tests; required by a recent change t… Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698