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