Index: third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp |
index 371b4e4f804a464ab8ec4d13c32762b4426135c7..5fc05734936fa249acd88ca2016f789358835c15 100644 |
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp |
@@ -90,7 +90,7 @@ void DedicatedWorkerGlobalScope::postMessage( |
const MessagePortArray& ports, |
ExceptionState& exceptionState) { |
// Disentangle the port in preparation for sending it to the remote context. |
- std::unique_ptr<MessagePortChannelArray> channels = |
+ MessagePortChannelArray channels = |
MessagePort::disentanglePorts(scriptState->getExecutionContext(), ports, |
exceptionState); |
if (exceptionState.hadException()) |