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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.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/modules/webaudio/OfflineAudioDestinationNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
index 5752f0b18251331200064dc8043ec77e88b3596e..eda9d5e645dc50e0459edcc16f550f733a8286c2 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
@@ -115,14 +115,14 @@ void OfflineAudioDestinationHandler::startRendering()
if (!m_isRenderingStarted) {
m_isRenderingStarted = true;
m_renderThread->getWebTaskRunner()->postTask(BLINK_FROM_HERE,
- threadSafeBind(&OfflineAudioDestinationHandler::startOfflineRendering, wrapPassRefPtr(this)));
+ crossThreadBind(&OfflineAudioDestinationHandler::startOfflineRendering, wrapPassRefPtr(this)));
return;
}
// Rendering is already started, which implicitly means we resume the
// rendering by calling |doOfflineRendering| on the render thread.
m_renderThread->getWebTaskRunner()->postTask(BLINK_FROM_HERE,
- threadSafeBind(&OfflineAudioDestinationHandler::doOfflineRendering, wrapPassRefPtr(this)));
+ crossThreadBind(&OfflineAudioDestinationHandler::doOfflineRendering, wrapPassRefPtr(this)));
}
void OfflineAudioDestinationHandler::stopRendering()

Powered by Google App Engine
This is Rietveld 408576698