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 71fe8157ae0eaa9aec5ef823ab822fb9c884751e..f16bdee3e8d172cc2a4bf378d895563c97b341ee 100644 |
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
@@ -72,7 +72,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(executionContext, ports, exceptionState); |
if (exceptionState.hadException()) |
return; |