зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1580659 - part2 : remove redundant checking. r=chunmin
We have already had the same checking in `AudioCaptureStreamChange()`, so we can remove the checking in `AudioCaptureStreamChangeIfNeeded()`. Differential Revision: https://phabricator.services.mozilla.com/D45749 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
8c34182874
Коммит
9f046cf28c
|
@ -1107,11 +1107,6 @@ class HTMLMediaElement::AudioChannelAgentCallback final
|
|||
if (!IsPlayingStarted()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mOwner->HasAudio()) {
|
||||
return;
|
||||
}
|
||||
|
||||
mOwner->AudioCaptureStreamChange(mAudioCapturedByWindow);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче