| Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| index 393851f68e14dd69a6075b459b2ac35a85e53507..91b0b43027f015e2a2faf4c7f0aee92881794ad6 100644
|
| --- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -276,10 +276,10 @@ bool WebSharedWorkerImpl::postTaskToWorkerGlobalScope(std::unique_ptr<ExecutionC
|
| void WebSharedWorkerImpl::connect(WebMessagePortChannel* webChannel)
|
| {
|
| workerThread()->postTask(
|
| - BLINK_FROM_HERE, createCrossThreadTask(&connectTask, passed(adoptPtr(webChannel))));
|
| + BLINK_FROM_HERE, createCrossThreadTask(&connectTask, passed(WebMessagePortChannelUniquePtr(webChannel))));
|
| }
|
|
|
| -void WebSharedWorkerImpl::connectTask(PassOwnPtr<WebMessagePortChannel> channel, ExecutionContext* context)
|
| +void WebSharedWorkerImpl::connectTask(WebMessagePortChannelUniquePtr channel, ExecutionContext* context)
|
| {
|
| // Wrap the passed-in channel in a MessagePort, and send it off via a connect event.
|
| MessagePort* port = MessagePort::create(*context);
|
|
|