Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: webrtc/pc/channel.cc

Issue 2623313004: Replace RTC_DCHECK(false) with RTC_NOTREACHED(). (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/p2p/client/basicportallocator.cc ('k') | webrtc/sdk/android/src/jni/androidnetworkmonitor_jni.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/channel.cc
diff --git a/webrtc/pc/channel.cc b/webrtc/pc/channel.cc
index 56335e24d085c74c37050233eb6ca6b73b75adaa..45141c8d0fd174618f68dd4fbea383ae5081c266 100644
--- a/webrtc/pc/channel.cc
+++ b/webrtc/pc/channel.cc
@@ -738,7 +738,7 @@ bool BaseChannel::SendPacket(bool rtcp,
// (and SetSend(true) is called).
LOG(LS_ERROR) << "Can't send outgoing RTP packet when SRTP is inactive"
<< " and crypto is required";
- RTC_DCHECK(false);
+ RTC_NOTREACHED();
return false;
}
@@ -998,7 +998,7 @@ bool BaseChannel::SetupDtlsSrtp_n(bool rtcp_channel) {
NULL, 0, false,
&dtls_buffer[0], dtls_buffer.size())) {
LOG(LS_WARNING) << "DTLS-SRTP key export failed";
- RTC_DCHECK(false); // This should never happen
+ RTC_NOTREACHED(); // This should never happen
return false;
}
« no previous file with comments | « webrtc/p2p/client/basicportallocator.cc ('k') | webrtc/sdk/android/src/jni/androidnetworkmonitor_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698