2011-06-03 Chris Rogers <crogers@google.com>
[WebKit-https.git] / Source / WebCore / webaudio / HighPass2FilterNode.cpp
index ca33784d6248547f6e903dbfebd143fc760b59e1..12d58a8edf804f83f61bd4739c30ab50e2a3a709 100644 (file)
@@ -34,6 +34,9 @@ HighPass2FilterNode::HighPass2FilterNode(AudioContext* context, double sampleRat
     : AudioBasicProcessorNode(context, sampleRate)
 {
     m_processor = adoptPtr(new BiquadProcessor(BiquadProcessor::HighPass2, sampleRate, 1, false));
     : AudioBasicProcessorNode(context, sampleRate)
 {
     m_processor = adoptPtr(new BiquadProcessor(BiquadProcessor::HighPass2, sampleRate, 1, false));
+    biquadProcessor()->parameter1()->setContext(context);
+    biquadProcessor()->parameter2()->setContext(context);
+    biquadProcessor()->parameter3()->setContext(context);
     setType(NodeTypeHighPass2Filter);
 }
 
     setType(NodeTypeHighPass2Filter);
 }