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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerThread.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/modules/serviceworkers/ServiceWorkerThread.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerThread.cpp b/Source/modules/serviceworkers/ServiceWorkerThread.cpp
index 3a27a068169248e12f9213c16467cded55242b09..584b4f542c589307493897f185573d850e8f7168 100644
--- a/Source/modules/serviceworkers/ServiceWorkerThread.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerThread.cpp
@@ -56,11 +56,11 @@ PassRefPtrWillBeRawPtr<WorkerGlobalScope> ServiceWorkerThread::createWorkerGloba
return ServiceWorkerGlobalScope::create(this, startupData);
}
-WebThreadSupportingGC& ServiceWorkerThread::backingThread()
+WebThread& ServiceWorkerThread::backingThread()
{
if (!m_thread)
m_thread = WebThreadSupportingGC::create("ServiceWorker Thread");
- return *m_thread.get();
+ return m_thread->platformThread();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698