| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp
|
| index d015ed47c38227f9143c877c34744aa525e1a198..fdf392e0c039e44e39efef9359308079a5179d02 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp
|
| @@ -30,6 +30,7 @@
|
|
|
| #include "modules/serviceworkers/ServiceWorkerThread.h"
|
|
|
| +#include "core/workers/WorkerBackingThread.h"
|
| #include "core/workers/WorkerThreadStartupData.h"
|
| #include "modules/serviceworkers/ServiceWorkerGlobalScope.h"
|
|
|
| @@ -41,7 +42,7 @@ PassRefPtr<ServiceWorkerThread> ServiceWorkerThread::create(PassRefPtr<WorkerLoa
|
| }
|
|
|
| ServiceWorkerThread::ServiceWorkerThread(PassRefPtr<WorkerLoaderProxy> workerLoaderProxy, WorkerReportingProxy& workerReportingProxy)
|
| - : WorkerThread(workerLoaderProxy, workerReportingProxy)
|
| + : WorkerThread(workerLoaderProxy, workerReportingProxy, WorkerBackingThread::create("ServiceWorker Thread"))
|
| {
|
| }
|
|
|
| @@ -54,11 +55,4 @@ PassRefPtrWillBeRawPtr<WorkerGlobalScope> ServiceWorkerThread::createWorkerGloba
|
| return ServiceWorkerGlobalScope::create(this, startupData);
|
| }
|
|
|
| -WebThreadSupportingGC& ServiceWorkerThread::backingThread()
|
| -{
|
| - if (!m_thread)
|
| - m_thread = WebThreadSupportingGC::create("ServiceWorker Thread");
|
| - return *m_thread.get();
|
| -}
|
| -
|
| } // namespace blink
|
|
|