| Index: third_party/WebKit/Source/core/workers/SharedWorker.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/SharedWorker.cpp b/third_party/WebKit/Source/core/workers/SharedWorker.cpp
|
| index 5b5d0bf829b6dd0095e589033a894cd48630971c..d73595be66edbe7b325ea66eba0f13281f074ebc 100644
|
| --- a/third_party/WebKit/Source/core/workers/SharedWorker.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/SharedWorker.cpp
|
| @@ -81,7 +81,7 @@ SharedWorker* SharedWorker::create(ExecutionContext* context, const String& url,
|
| return nullptr;
|
|
|
| if (document->frame()->loader().client()->sharedWorkerRepositoryClient())
|
| - document->frame()->loader().client()->sharedWorkerRepositoryClient()->connect(worker, remotePort.release(), scriptURL, name, exceptionState);
|
| + document->frame()->loader().client()->sharedWorkerRepositoryClient()->connect(worker, std::move(remotePort), scriptURL, name, exceptionState);
|
|
|
| return worker;
|
| }
|
|
|