| 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 44dd3da33ba714cc77d8c9113e054ae6727798c3..472928bcb1daacf8203b1bf48e18ea0ef76ec9fe 100644
|
| --- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| @@ -39,7 +39,7 @@ void InProcessWorkerBase::postMessage(ExecutionContext* context, PassRefPtr<Seri
|
| OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(context, ports, exceptionState);
|
| if (exceptionState.hadException())
|
| return;
|
| - m_contextProxy->postMessageToWorkerGlobalScope(message, channels.release());
|
| + m_contextProxy->postMessageToWorkerGlobalScope(message, std::move(channels));
|
| }
|
|
|
| bool InProcessWorkerBase::initialize(ExecutionContext* context, const String& url, ExceptionState& exceptionState)
|
|
|