Skip to content

Commit

Permalink
Bug 1563728 - Add a return statement to BiquadFilterNode::GetFrequenc…
Browse files Browse the repository at this point in the history
…yResponse to fix bustage. rs=padenot

CLOSED TREE
  • Loading branch information
emilio committed Jul 6, 2019
1 parent 42ce0fc commit 1a39c45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dom/media/webaudio/BiquadFilterNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ void BiquadFilterNode::GetFrequencyResponse(const Float32Array& aFrequencyHz,
if (!(aFrequencyHz.Length() == aMagResponse.Length() &&
aMagResponse.Length() == aPhaseResponse.Length())) {
aRv.Throw(NS_ERROR_DOM_INVALID_ACCESS_ERR);
return;
}

uint32_t length = aFrequencyHz.Length();
Expand Down

0 comments on commit 1a39c45

Please sign in to comment.