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 cc9ca64835
commit 0de18135cf

View File

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