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

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

Issue 1865583002: Implement BaseAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/GainNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/GainNode.cpp b/third_party/WebKit/Source/modules/webaudio/GainNode.cpp
index 581becbcc31791bc67c4fb32593f2ccab243c4c2..d2fca11316411ec4fb2add33795bb96a027e5071 100644
--- a/third_party/WebKit/Source/modules/webaudio/GainNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/GainNode.cpp
@@ -114,14 +114,14 @@ void GainHandler::checkNumberOfChannelsForInput(AudioNodeInput* input)
// ----------------------------------------------------------------
-GainNode::GainNode(AbstractAudioContext& context, float sampleRate)
+GainNode::GainNode(BaseAudioContext& context, float sampleRate)
: AudioNode(context)
, m_gain(AudioParam::create(context, 1.0))
{
setHandler(GainHandler::create(*this, sampleRate, m_gain->handler()));
}
-GainNode* GainNode::create(AbstractAudioContext& context, float sampleRate)
+GainNode* GainNode::create(BaseAudioContext& context, float sampleRate)
{
return new GainNode(context, sampleRate);
}

Powered by Google App Engine
This is Rietveld 408576698