Index: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
index 08b41a1ae04bf4c5ef1a006d00fa37890bec7b6e..aaced4898727fb9421d7c58893e0fca4ecc52e8c 100644 |
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
@@ -74,7 +74,7 @@ void CompositorWorkerGlobalScope::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()) |