зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1513973 - Remove check for `false`. r=jib
The microphone source is no longer shared so this check is moot. Differential Revision: https://phabricator.services.mozilla.com/D15192 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
f9603f7b63
Коммит
de06fc1905
|
@ -511,10 +511,6 @@ nsresult MediaEngineWebRTCMicrophoneSource::SetTrack(
|
||||||
MOZ_ASSERT(aStream);
|
MOZ_ASSERT(aStream);
|
||||||
MOZ_ASSERT(IsTrackIDExplicit(aTrackID));
|
MOZ_ASSERT(IsTrackIDExplicit(aTrackID));
|
||||||
|
|
||||||
if (mStream && mStream->Graph() != aStream->Graph()) {
|
|
||||||
return NS_ERROR_NOT_AVAILABLE;
|
|
||||||
}
|
|
||||||
|
|
||||||
MOZ_ASSERT(!mStream);
|
MOZ_ASSERT(!mStream);
|
||||||
MOZ_ASSERT(mTrackID == TRACK_NONE);
|
MOZ_ASSERT(mTrackID == TRACK_NONE);
|
||||||
MOZ_ASSERT(mPrincipal == PRINCIPAL_HANDLE_NONE);
|
MOZ_ASSERT(mPrincipal == PRINCIPAL_HANDLE_NONE);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче