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

Unified Diff: Source/core/workers/SharedWorkerThread.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/SharedWorkerThread.cpp
diff --git a/Source/core/workers/SharedWorkerThread.cpp b/Source/core/workers/SharedWorkerThread.cpp
index 576361da373a45a004afa3888df1cff46ad59773..6009d8e3691168b7133bc340780460c41551ba70 100644
--- a/Source/core/workers/SharedWorkerThread.cpp
+++ b/Source/core/workers/SharedWorkerThread.cpp
@@ -57,11 +57,11 @@ PassRefPtrWillBeRawPtr<WorkerGlobalScope> SharedWorkerThread::createWorkerGlobal
return SharedWorkerGlobalScope::create(m_name, this, startupData);
}
-WebThreadSupportingGC& SharedWorkerThread::backingThread()
+WebThread& SharedWorkerThread::backingThread()
{
if (!m_thread)
m_thread = WebThreadSupportingGC::create("SharedWorker Thread");
- return *m_thread.get();
+ return m_thread->platformThread();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698