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

Unified Diff: webrtc/base/autodetectproxy.cc

Issue 2625003003: Replace ASSERT(false) by 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/api/webrtcsessiondescriptionfactory.cc ('k') | webrtc/base/diskcache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/autodetectproxy.cc
diff --git a/webrtc/base/autodetectproxy.cc b/webrtc/base/autodetectproxy.cc
index 3b4e1f4fc591a1c55e3d66ee9cc0684b6acca9b0..0ec6ecc3d4ffb75a7d37b8af64db8ff509a5a315 100644
--- a/webrtc/base/autodetectproxy.cc
+++ b/webrtc/base/autodetectproxy.cc
@@ -9,6 +9,7 @@
*/
#include "webrtc/base/autodetectproxy.h"
+#include "webrtc/base/checks.h"
#include "webrtc/base/httpcommon.h"
#include "webrtc/base/httpcommon-inl.h"
#include "webrtc/base/nethelpers.h"
@@ -236,7 +237,7 @@ void AutoDetectProxy::OnConnectEvent(AsyncSocket * socket) {
probe.assign("\005\001\000", 3);
break;
default:
- ASSERT(false);
+ RTC_NOTREACHED();
return;
}
@@ -271,7 +272,7 @@ void AutoDetectProxy::OnReadEvent(AsyncSocket * socket) {
}
break;
default:
- ASSERT(false);
+ RTC_NOTREACHED();
return;
}
« no previous file with comments | « webrtc/api/webrtcsessiondescriptionfactory.cc ('k') | webrtc/base/diskcache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698