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

Unified Diff: Source/platform/audio/ReverbConvolver.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/platform/audio/ReverbConvolver.cpp
diff --git a/Source/platform/audio/ReverbConvolver.cpp b/Source/platform/audio/ReverbConvolver.cpp
index 5acae6aa96ca322c8bd71cd967ecf134b91e3da4..a479c9e8538c60324ed778b7da62d9915a929872 100644
--- a/Source/platform/audio/ReverbConvolver.cpp
+++ b/Source/platform/audio/ReverbConvolver.cpp
@@ -173,7 +173,7 @@ void ReverbConvolver::process(const AudioChannel* sourceChannel, AudioChannel* d
// Now that we've buffered more input, post another task to the background thread.
if (m_backgroundThread)
- m_backgroundThread->postTask(FROM_HERE, new Task(WTF::bind(&ReverbConvolver::processInBackground, this)));
+ m_backgroundThread->defaultTaskRunner()->postTask(FROM_HERE, new Task(WTF::bind(&ReverbConvolver::processInBackground, this)));
}
void ReverbConvolver::reset()

Powered by Google App Engine
This is Rietveld 408576698