| Index: third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
|
| index 30e30a1d75f2f9687a4ca3240c9431fee1966026..7cb2e010a191f9197daf5f31d2a15cc45e98d774 100644
|
| --- a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "core/workers/DedicatedWorkerThread.h"
|
|
|
| #include "core/workers/DedicatedWorkerGlobalScope.h"
|
| +#include "core/workers/WorkerBackingThread.h"
|
| #include "core/workers/WorkerObjectProxy.h"
|
| #include "core/workers/WorkerThreadStartupData.h"
|
|
|
| @@ -42,7 +43,7 @@ PassRefPtr<DedicatedWorkerThread> DedicatedWorkerThread::create(PassRefPtr<Worke
|
| }
|
|
|
| DedicatedWorkerThread::DedicatedWorkerThread(PassRefPtr<WorkerLoaderProxy> workerLoaderProxy, WorkerObjectProxy& workerObjectProxy, double timeOrigin)
|
| - : WorkerThread(workerLoaderProxy, workerObjectProxy)
|
| + : WorkerThread(workerLoaderProxy, workerObjectProxy, WorkerBackingThread::create("DedicatedWorker Thread"))
|
| , m_workerObjectProxy(workerObjectProxy)
|
| , m_timeOrigin(timeOrigin)
|
| {
|
| @@ -57,13 +58,6 @@ PassRefPtrWillBeRawPtr<WorkerGlobalScope> DedicatedWorkerThread::createWorkerGlo
|
| return DedicatedWorkerGlobalScope::create(this, startupData, m_timeOrigin);
|
| }
|
|
|
| -WebThreadSupportingGC& DedicatedWorkerThread::backingThread()
|
| -{
|
| - if (!m_thread)
|
| - m_thread = WebThreadSupportingGC::create("DedicatedWorker Thread");
|
| - return *m_thread.get();
|
| -}
|
| -
|
| void DedicatedWorkerThread::postInitialize()
|
| {
|
| // Notify the parent object of our current active state before the event
|
|
|