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

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: 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
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..85bd4dae607aa50793ff3c6737384bb3cd3ee0da 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().defaultTaskRunner()->postTask(FROM_HERE, task);
}
void ScriptStreamerThread::taskDone()

Powered by Google App Engine
This is Rietveld 408576698