Index: third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp b/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp |
index cd7ca037349d799415df75e3901424b48df40e57..412a92ab39e6c4ad53792025c1a4c34cde7e70d7 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp |
@@ -110,8 +110,7 @@ bool BiquadFilterNode::setType(unsigned type) |
void BiquadFilterNode::getFrequencyResponse(const DOMFloat32Array* frequencyHz, DOMFloat32Array* magResponse, DOMFloat32Array* phaseResponse) |
{ |
- if (!frequencyHz || !magResponse || !phaseResponse) |
- return; |
+ ASSERT(frequencyHz && magResponse && phaseResponse); |
int n = std::min(frequencyHz->length(), std::min(magResponse->length(), phaseResponse->length())); |
if (n) |