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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OscillatorNode.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/OscillatorNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp b/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp
index 07b2a655dd6018cf33994f51bf794ab81edd9f19..fac75a2364315cfa00cf2fd2e283830e93faf792 100644
--- a/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp
@@ -330,7 +330,7 @@ bool OscillatorHandler::propagatesSilence() const
// ----------------------------------------------------------------
-OscillatorNode::OscillatorNode(AbstractAudioContext& context, float sampleRate)
+OscillatorNode::OscillatorNode(BaseAudioContext& context, float sampleRate)
: AudioScheduledSourceNode(context)
// Use musical pitch standard A440 as a default.
, m_frequency(AudioParam::create(context, 440))
@@ -340,7 +340,7 @@ OscillatorNode::OscillatorNode(AbstractAudioContext& context, float sampleRate)
setHandler(OscillatorHandler::create(*this, sampleRate, m_frequency->handler(), m_detune->handler()));
}
-OscillatorNode* OscillatorNode::create(AbstractAudioContext& context, float sampleRate)
+OscillatorNode* OscillatorNode::create(BaseAudioContext& context, float sampleRate)
{
return new OscillatorNode(context, sampleRate);
}

Powered by Google App Engine
This is Rietveld 408576698