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

Unified Diff: third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp

Issue 2104913002: Rename threadSafeBind() to crossThreadBind() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_CTCPointer
Patch Set: Rebase Created 4 years, 6 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: third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
diff --git a/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp b/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
index cfd537701b0dc4d238d8c9d4bd70c091f4a12959..6dfeb1b3bba26da3649e67bfd42d0b3104121efc 100644
--- a/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
+++ b/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
@@ -26,9 +26,10 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "platform/ThreadSafeFunctional.h"
-#include "platform/audio/AudioBus.h"
#include "platform/audio/ReverbConvolver.h"
+
+#include "platform/CrossThreadFunctional.h"
+#include "platform/audio/AudioBus.h"
#include "platform/audio/VectorMath.h"
#include "public/platform/Platform.h"
#include "public/platform/WebTaskRunner.h"
@@ -172,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->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&ReverbConvolver::processInBackground, crossThreadUnretained(this)));
+ m_backgroundThread->getWebTaskRunner()->postTask(BLINK_FROM_HERE, crossThreadBind(&ReverbConvolver::processInBackground, crossThreadUnretained(this)));
}
void ReverbConvolver::reset()

Powered by Google App Engine
This is Rietveld 408576698