diff options
Diffstat (limited to 'media/webrtc/signaling/gtest/mediapipeline_unittest.cpp')
-rw-r--r-- | media/webrtc/signaling/gtest/mediapipeline_unittest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media/webrtc/signaling/gtest/mediapipeline_unittest.cpp b/media/webrtc/signaling/gtest/mediapipeline_unittest.cpp index 032023d95f..4aa7f18b3c 100644 --- a/media/webrtc/signaling/gtest/mediapipeline_unittest.cpp +++ b/media/webrtc/signaling/gtest/mediapipeline_unittest.cpp @@ -69,7 +69,7 @@ class FakeAudioTrack : public ProcessedMediaTrack { void Destroy() override { MutexAutoLock lock(mMutex); - MOZ_ASSERT(!mMainThreadDestroyed); + MOZ_RELEASE_ASSERT(!mMainThreadDestroyed); mMainThreadDestroyed = true; mTimer->Cancel(); mTimer = nullptr; @@ -79,14 +79,14 @@ class FakeAudioTrack : public ProcessedMediaTrack { void AddListener(MediaTrackListener* aListener) override { MutexAutoLock lock(mMutex); - MOZ_ASSERT(!mListener); + MOZ_RELEASE_ASSERT(!mListener); mListener = aListener; } RefPtr<GenericPromise> RemoveListener( MediaTrackListener* aListener) override { MutexAutoLock lock(mMutex); - MOZ_ASSERT(mListener == aListener); + MOZ_RELEASE_ASSERT(mListener == aListener); mListener = nullptr; return GenericPromise::CreateAndResolve(true, __func__); } |