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

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

Issue 1023113002: Web Audio: Change the argument of AudioNode::addOutput(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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: Source/modules/webaudio/GainNode.cpp
diff --git a/Source/modules/webaudio/GainNode.cpp b/Source/modules/webaudio/GainNode.cpp
index 10e06d2b34c6fd3c92ae406b0ea042d466ecbaa4..3da6aae15c5791436eef0dabcb23ca23b053fdb7 100644
--- a/Source/modules/webaudio/GainNode.cpp
+++ b/Source/modules/webaudio/GainNode.cpp
@@ -40,7 +40,7 @@ GainNode::GainNode(AudioContext* context, float sampleRate)
m_gain = AudioParam::create(context, 1.0);
addInput();
- addOutput(AudioNodeOutput::create(this, 1));
+ addOutput(1);
initialize();
}
« no previous file with comments | « Source/modules/webaudio/DynamicsCompressorNode.cpp ('k') | Source/modules/webaudio/MediaElementAudioSourceNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698