diff --git a/dom/media/webrtc/MediaEngineWebRTCAudio.cpp b/dom/media/webrtc/MediaEngineWebRTCAudio.cpp index abc7155ccbe5..dc50f8820f8f 100644 --- a/dom/media/webrtc/MediaEngineWebRTCAudio.cpp +++ b/dom/media/webrtc/MediaEngineWebRTCAudio.cpp @@ -511,10 +511,6 @@ nsresult MediaEngineWebRTCMicrophoneSource::SetTrack( MOZ_ASSERT(aStream); MOZ_ASSERT(IsTrackIDExplicit(aTrackID)); - if (mStream && mStream->Graph() != aStream->Graph()) { - return NS_ERROR_NOT_AVAILABLE; - } - MOZ_ASSERT(!mStream); MOZ_ASSERT(mTrackID == TRACK_NONE); MOZ_ASSERT(mPrincipal == PRINCIPAL_HANDLE_NONE);