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

Unified Diff: Source/bindings/core/v8/ScriptStreamerThread.cpp

Issue 1303153005: Introduce WebTaskRunner Patch 3/5 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing #include Created 5 years, 3 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
« no previous file with comments | « Source/bindings/core/v8/ScriptStreamerThread.h ('k') | Source/core/dom/CompositorProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptStreamerThread.cpp
diff --git a/Source/bindings/core/v8/ScriptStreamerThread.cpp b/Source/bindings/core/v8/ScriptStreamerThread.cpp
index 05ec23fc384269ba949f03b5755eef0aa2621e3a..5dcf6358b7e1d4a303ce343b75f4688a8c96a29d 100644
--- a/Source/bindings/core/v8/ScriptStreamerThread.cpp
+++ b/Source/bindings/core/v8/ScriptStreamerThread.cpp
@@ -54,13 +54,13 @@ ScriptStreamerThread* ScriptStreamerThread::shared()
return s_sharedThread;
}
-void ScriptStreamerThread::postTask(WebThread::Task* task)
+void ScriptStreamerThread::postTask(WebTaskRunner::Task* task)
{
ASSERT(isMainThread());
MutexLocker locker(m_mutex);
ASSERT(!m_runningTask);
m_runningTask = true;
- platformThread().postTask(FROM_HERE, task);
+ platformThread().taskRunner()->postTask(FROM_HERE, task);
}
void ScriptStreamerThread::taskDone()
« no previous file with comments | « Source/bindings/core/v8/ScriptStreamerThread.h ('k') | Source/core/dom/CompositorProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698