Index: third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
index 80a0571ca2233bb418ec253683f03c01cda096dd..44736ce20c0e2fbd4ccbff9dbb14dcb20f45325e 100644 |
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
@@ -33,7 +33,7 @@ void InProcessWorkerBase::postMessage(ScriptState* scriptState, |
ExceptionState& exceptionState) { |
DCHECK(m_contextProxy); |
// 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()) |