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 472928bcb1daacf8203b1bf48e18ea0ef76ec9fe..6990487f365860d2dffe2157c70718ba97312791 100644 |
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
@@ -14,6 +14,7 @@ |
#include "core/workers/WorkerScriptLoader.h" |
#include "core/workers/WorkerThread.h" |
#include "platform/network/ContentSecurityPolicyResponseHeaders.h" |
+#include <memory> |
namespace blink { |
@@ -36,7 +37,7 @@ void InProcessWorkerBase::postMessage(ExecutionContext* context, PassRefPtr<Seri |
{ |
DCHECK(m_contextProxy); |
// Disentangle the port in preparation for sending it to the remote context. |
- OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(context, ports, exceptionState); |
+ std::unique_ptr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(context, ports, exceptionState); |
if (exceptionState.hadException()) |
return; |
m_contextProxy->postMessageToWorkerGlobalScope(message, std::move(channels)); |