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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp

Issue 2103043007: Rename AbstractAudioContext to BaseAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/AudioNodeOutput.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp b/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp
index ed17124d56f74be71014855a21ed61fc9617c5db..415eeae0445f0c4a53f02db3c4ca3a4bbd957fb7 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp
@@ -22,9 +22,9 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "modules/webaudio/AbstractAudioContext.h"
#include "modules/webaudio/AudioNodeInput.h"
#include "modules/webaudio/AudioNodeOutput.h"
+#include "modules/webaudio/BaseAudioContext.h"
#include "wtf/PtrUtil.h"
#include "wtf/Threading.h"
#include <memory>
@@ -43,7 +43,7 @@ inline AudioNodeOutput::AudioNodeOutput(AudioHandler* handler, unsigned numberOf
, m_renderingFanOutCount(0)
, m_renderingParamFanOutCount(0)
{
- ASSERT(numberOfChannels <= AbstractAudioContext::maxNumberOfChannels());
+ ASSERT(numberOfChannels <= BaseAudioContext::maxNumberOfChannels());
m_internalBus = AudioBus::create(numberOfChannels, AudioHandler::ProcessingSizeInFrames);
}
@@ -66,7 +66,7 @@ void AudioNodeOutput::dispose()
void AudioNodeOutput::setNumberOfChannels(unsigned numberOfChannels)
{
- ASSERT(numberOfChannels <= AbstractAudioContext::maxNumberOfChannels());
+ ASSERT(numberOfChannels <= BaseAudioContext::maxNumberOfChannels());
ASSERT(deferredTaskHandler().isGraphOwner());
m_desiredNumberOfChannels = numberOfChannels;

Powered by Google App Engine
This is Rietveld 408576698