Index: webrtc/pc/mediasession.cc |
diff --git a/webrtc/pc/mediasession.cc b/webrtc/pc/mediasession.cc |
index ab2208fefc7afbf20463a88134bac54e3979b910..5e6942384ad734c0f8bfaa6be338bf8028e75540 100644 |
--- a/webrtc/pc/mediasession.cc |
+++ b/webrtc/pc/mediasession.cc |
@@ -365,7 +365,7 @@ class UsedIds { |
while (IsIdUsed(next_id_) && next_id_ >= min_allowed_id_) { |
--next_id_; |
} |
- ASSERT(next_id_ >= min_allowed_id_); |
+ RTC_DCHECK(next_id_ >= min_allowed_id_); |
return next_id_; |
} |
@@ -1470,7 +1470,7 @@ SessionDescription* MediaSessionDescriptionFactory::CreateAnswer( |
return NULL; |
} |
} else { |
- ASSERT(IsMediaContentOfType(&*it, MEDIA_TYPE_DATA)); |
+ RTC_DCHECK(IsMediaContentOfType(&*it, MEDIA_TYPE_DATA)); |
if (!AddDataContentForAnswer(offer, options, current_description, |
¤t_streams, answer.get())) { |
return NULL; |