Index: third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp |
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp |
index 80a09f28f9cf15d5b26a6c6ae311b49d91562f50..1dc697480e4a76da445078937fa6a0adc325234f 100644 |
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp |
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp |
@@ -119,7 +119,7 @@ void InProcessWorkerMessagingProxy::startWorkerGlobalScope( |
void InProcessWorkerMessagingProxy::postMessageToWorkerObject( |
PassRefPtr<SerializedScriptValue> message, |
- std::unique_ptr<MessagePortChannelArray> channels) { |
+ MessagePortChannelArray channels) { |
DCHECK(isParentContextThread()); |
if (!m_workerObject || askedToTerminate()) |
return; |
@@ -132,7 +132,7 @@ void InProcessWorkerMessagingProxy::postMessageToWorkerObject( |
void InProcessWorkerMessagingProxy::postMessageToWorkerGlobalScope( |
PassRefPtr<SerializedScriptValue> message, |
- std::unique_ptr<MessagePortChannelArray> channels) { |
+ MessagePortChannelArray channels) { |
DCHECK(isParentContextThread()); |
if (askedToTerminate()) |
return; |
@@ -240,7 +240,7 @@ bool InProcessWorkerMessagingProxy::hasPendingActivity() const { |
InProcessWorkerMessagingProxy::QueuedTask::QueuedTask( |
RefPtr<SerializedScriptValue> message, |
- std::unique_ptr<MessagePortChannelArray> channels) |
+ MessagePortChannelArray channels) |
: message(std::move(message)), channels(std::move(channels)) {} |
InProcessWorkerMessagingProxy::QueuedTask::~QueuedTask() = default; |