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()); |