| Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| index 225290b552a30ba21df9060575e18f359ffbb738..a7e092e78a1d2d9515eb6316e675ac389ee0cdfc 100644
|
| --- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| @@ -444,7 +444,7 @@ void WebEmbeddedWorkerImpl::startWorkerThread()
|
| // 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_workerGlobalScopeProxy = ServiceWorkerGlobalScopeProxy::create(*this, *document, *m_workerContextClient);
|
| m_loaderProxy = WorkerLoaderProxy::create(this);
|
|
|