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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.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/core/workers/InProcessWorkerObjectProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
index 50217326419b0237a8c5b2549b24c4d71c72304a..769ddc7d8a8b247e32c135363c74006ff5354cb9 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
@@ -65,7 +65,7 @@ InProcessWorkerObjectProxy::~InProcessWorkerObjectProxy() {}
void InProcessWorkerObjectProxy::postMessageToWorkerObject(
PassRefPtr<SerializedScriptValue> message,
- std::unique_ptr<MessagePortChannelArray> channels) {
+ MessagePortChannelArray channels) {
getParentFrameTaskRunners()
->get(TaskType::PostedMessage)
->postTask(BLINK_FROM_HERE,
@@ -77,7 +77,7 @@ void InProcessWorkerObjectProxy::postMessageToWorkerObject(
void InProcessWorkerObjectProxy::processMessageFromWorkerObject(
PassRefPtr<SerializedScriptValue> message,
- std::unique_ptr<MessagePortChannelArray> channels,
+ MessagePortChannelArray channels,
WorkerThread* workerThread) {
WorkerGlobalScope* globalScope =
toWorkerGlobalScope(workerThread->globalScope());

Powered by Google App Engine
This is Rietveld 408576698