Index: webrtc/pc/mediasession_unittest.cc |
diff --git a/webrtc/pc/mediasession_unittest.cc b/webrtc/pc/mediasession_unittest.cc |
index 45de0d2b1a2f5a22ad806747a8f15b4e917878af..cd2ea23001565aba86bb4c032e237343d4c49d95 100644 |
--- a/webrtc/pc/mediasession_unittest.cc |
+++ b/webrtc/pc/mediasession_unittest.cc |
@@ -12,6 +12,7 @@ |
#include <string> |
#include <vector> |
+#include "webrtc/base/checks.h" |
#include "webrtc/base/fakesslidentity.h" |
#include "webrtc/base/gunit.h" |
#include "webrtc/base/messagedigest.h" |
@@ -451,10 +452,10 @@ class MediaSessionDescriptionFactoryTest : public testing::Test { |
bool VerifyNoCNCodecs(const cricket::ContentInfo* content) { |
const cricket::ContentDescription* description = content->description; |
- ASSERT(description != NULL); |
+ RTC_CHECK(description != NULL); |
const cricket::AudioContentDescription* audio_content_desc = |
static_cast<const cricket::AudioContentDescription*>(description); |
- ASSERT(audio_content_desc != NULL); |
+ RTC_CHECK(audio_content_desc != NULL); |
for (size_t i = 0; i < audio_content_desc->codecs().size(); ++i) { |
if (audio_content_desc->codecs()[i].name == "CN") |
return false; |