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

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

Issue 270103005: Tried to move AudioSummingJuction to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « Source/modules/webaudio/GainNode.h ('k') | Source/modules/webaudio/MediaElementAudioSourceNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/GainNode.cpp
diff --git a/Source/modules/webaudio/GainNode.cpp b/Source/modules/webaudio/GainNode.cpp
index 08b2548a4317db216734ac3114a22e06e1264f78..265d8ce68f03bba4e12097c7e8b510072c7ddd37 100644
--- a/Source/modules/webaudio/GainNode.cpp
+++ b/Source/modules/webaudio/GainNode.cpp
@@ -42,7 +42,7 @@ GainNode::GainNode(AudioContext* context, float sampleRate)
ScriptWrappable::init(this);
m_gain = AudioParam::create(context, "gain", 1.0, 0.0, 1.0);
- addInput(adoptPtr(new AudioNodeInput(this)));
+ addInput(adoptPtrWillBeNoop(new AudioNodeInput(this)));
addOutput(adoptPtr(new AudioNodeOutput(this, 1)));
setNodeType(NodeTypeGain);
@@ -108,6 +108,12 @@ void GainNode::checkNumberOfChannelsForInput(AudioNodeInput* input)
AudioNode::checkNumberOfChannelsForInput(input);
}
+void GainNode::trace(Visitor* visitor)
+{
+ visitor->trace(m_gain);
+ AudioNode::trace(visitor);
+}
+
} // namespace WebCore
#endif // ENABLE(WEB_AUDIO)
« no previous file with comments | « Source/modules/webaudio/GainNode.h ('k') | Source/modules/webaudio/MediaElementAudioSourceNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698