Index: webrtc/media/base/fakemediaengine.h |
diff --git a/webrtc/media/base/fakemediaengine.h b/webrtc/media/base/fakemediaengine.h |
index cbd4e6ef268046de645d5843582fc24c4af8a2dd..b09551854dc9ad924bc2f3410b8434c241809c85 100644 |
--- a/webrtc/media/base/fakemediaengine.h |
+++ b/webrtc/media/base/fakemediaengine.h |
@@ -19,6 +19,7 @@ |
#include <vector> |
#include "webrtc/api/call/audio_sink.h" |
+#include "webrtc/base/checks.h" |
#include "webrtc/base/copyonwritebuffer.h" |
#include "webrtc/base/networkroute.h" |
#include "webrtc/base/stringutils.h" |
@@ -468,7 +469,7 @@ class FakeVoiceMediaChannel : public RtpHelper<VoiceMediaChannel> { |
auto it = local_sinks_.find(ssrc); |
if (source) { |
if (it != local_sinks_.end()) { |
- ASSERT(it->second->source() == source); |
+ RTC_DCHECK(it->second->source() == source); |
} else { |
local_sinks_.insert( |
std::make_pair(ssrc, new VoiceChannelAudioSink(source))); |