| Index: third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| diff --git a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| index 3ab95c223117a3152fc38e40bc7347f152a193a4..a774cda0c5d7cc5d5cef12c1621c4c9c6bc8ae04 100644
|
| --- a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| +++ b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| @@ -388,10 +388,7 @@ bool Bridge::connect(std::unique_ptr<SourceLocation> location, const KURL& url,
|
| // content check must synchronously be conducted.
|
| WebSocketChannelSyncHelper syncHelper;
|
| m_loaderProxy->postTaskToLoader(BLINK_FROM_HERE, createCrossThreadTask(&Bridge::connectOnMainThread, wrapCrossThreadPersistent(this), passed(location->clone()), wrapCrossThreadPersistent(m_workerGlobalScope->thread()->getWorkerThreadLifecycleContext()), url, protocol, crossThreadUnretained(&syncHelper)));
|
| - {
|
| - SafePointScope scope(BlinkGC::HeapPointersOnStack);
|
| - syncHelper.wait();
|
| - }
|
| + syncHelper.wait();
|
| return syncHelper.connectRequestResult();
|
| }
|
|
|
|
|