Index: webrtc/api/mediastream.cc |
diff --git a/webrtc/api/mediastream.cc b/webrtc/api/mediastream.cc |
index 3547cb84f7a41277f0bf3346334180356f3ad46a..bef04ae8bdd2bc90d35f1e40a490d128f3ad8714 100644 |
--- a/webrtc/api/mediastream.cc |
+++ b/webrtc/api/mediastream.cc |
@@ -9,6 +9,7 @@ |
*/ |
#include "webrtc/api/mediastream.h" |
+#include "webrtc/base/checks.h" |
#include "webrtc/base/logging.h" |
namespace webrtc { |
@@ -81,7 +82,7 @@ bool MediaStream::AddTrack(TrackVector* tracks, Track* track) { |
template <typename TrackVector> |
bool MediaStream::RemoveTrack(TrackVector* tracks, |
MediaStreamTrackInterface* track) { |
- ASSERT(tracks != NULL); |
+ RTC_DCHECK(tracks != NULL); |
if (!track) |
return false; |
typename TrackVector::iterator it = FindTrack(tracks, track->id()); |