mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 21:25:35 +00:00
Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan
--HG-- extra : rebase_source : daec86b27d8497ba109ca998f0fccf3d6d7c3677
This commit is contained in:
parent
cc9ca64835
commit
0de18135cf
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user