| 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 7b30482312d7567e4c27a78104c8d8bcbbd3babb..cae4f4be9cae862de0c28459ce3677277183c5c2 100644
|
| --- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -360,7 +360,7 @@ void WebSharedWorkerImpl::onScriptLoaderFinished()
|
| // the document/frame of associated document(s) for this worker. Here we
|
| // populate the task runners with null document not to confuse the frame
|
| // scheduler (which will end up using the thread's default task runner).
|
| - m_mainThreadTaskRunners = new ParentFrameTaskRunners(nullptr);
|
| + m_mainThreadTaskRunners = ParentFrameTaskRunners::create(nullptr);
|
|
|
| m_loaderProxy = WorkerLoaderProxy::create(this);
|
| m_workerThread = SharedWorkerThread::create(m_name, m_loaderProxy, *this);
|
|
|