Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Unified Diff: Source/core/workers/DedicatedWorkerThread.cpp

Issue 1274023003: compositor-worker: Get the thread to run compositor-workers from the Platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/workers/DedicatedWorkerThread.cpp
diff --git a/Source/core/workers/DedicatedWorkerThread.cpp b/Source/core/workers/DedicatedWorkerThread.cpp
index 1567ddae3959d8e776c248f24f642644a0ffae52..da4a693d3db53dc60150bc4e02c0ff4f4466f73c 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();
+ return m_thread->platformThread();
}
void DedicatedWorkerThread::postInitialize()

Powered by Google App Engine
This is Rietveld 408576698