Index: Source/core/workers/DedicatedWorkerThread.cpp |
diff --git a/Source/core/workers/DedicatedWorkerThread.cpp b/Source/core/workers/DedicatedWorkerThread.cpp |
index 1567ddae3959d8e776c248f24f642644a0ffae52..bbf3a7142bc309556fab97af283e2b69e54bacdc 100644 |
--- a/Source/core/workers/DedicatedWorkerThread.cpp |
+++ b/Source/core/workers/DedicatedWorkerThread.cpp |
@@ -59,11 +59,11 @@ PassRefPtrWillBeRawPtr<WorkerGlobalScope> DedicatedWorkerThread::createWorkerGlo |
return DedicatedWorkerGlobalScope::create(this, startupData, m_timeOrigin); |
} |
-WebThreadSupportingGC& DedicatedWorkerThread::backingThread() |
+WebThread& DedicatedWorkerThread::backingThread() |
{ |
if (!m_thread) |
- m_thread = WebThreadSupportingGC::create("DedicatedWorker Thread"); |
- return *m_thread.get(); |
+ m_thread = adoptPtr(Platform::current()->createThread("DedicatedWorker Thread")); |
+ return *m_thread; |
} |
void DedicatedWorkerThread::postInitialize() |