Index: webrtc/api/dtmfsender.cc |
diff --git a/webrtc/api/dtmfsender.cc b/webrtc/api/dtmfsender.cc |
index bd4340e7a189d167dadb6bd0a793e1f7e8e2d7fa..8fda78430a40b242defd6b09cfb0df31281f32d1 100644 |
--- a/webrtc/api/dtmfsender.cc |
+++ b/webrtc/api/dtmfsender.cc |
@@ -14,6 +14,7 @@ |
#include <string> |
+#include "webrtc/base/checks.h" |
#include "webrtc/base/logging.h" |
#include "webrtc/base/thread.h" |
@@ -164,7 +165,7 @@ void DtmfSender::OnMessage(rtc::Message* msg) { |
break; |
} |
default: { |
- ASSERT(false); |
+ RTC_NOTREACHED(); |
break; |
} |
} |
@@ -189,7 +190,7 @@ void DtmfSender::DoInsertDtmf() { |
if (!GetDtmfCode(tone, &code)) { |
// The find_first_of(kDtmfValidTones) should have guarantee |tone| is |
// a valid DTMF tone. |
- ASSERT(false); |
+ RTC_NOTREACHED(); |
} |
} |