Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan

--HG--
extra : rebase_source : daec86b27d8497ba109ca998f0fccf3d6d7c3677
This commit is contained in:
Paul Adenot 2013-09-17 15:23:52 +02:00
parent 59a1f479b5
commit bcf3bcf9e1

View File

@ -495,7 +495,10 @@ AudioContext::Graph() const
MediaStream*
AudioContext::DestinationStream() const
{
return Destination()->Stream();
if (Destination()) {
return Destination()->Stream();
}
return nullptr;
}
double