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

Unified Diff: webrtc/p2p/client/basicportallocator.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/base/transportcontroller.cc ('k') | webrtc/pc/channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/client/basicportallocator.cc
diff --git a/webrtc/p2p/client/basicportallocator.cc b/webrtc/p2p/client/basicportallocator.cc
index 806f69c2e1e20d90aa1bdc3a5e8ec1b760294f92..943a8467048ed1b6c1638b858611b8dbc43218ba 100644
--- a/webrtc/p2p/client/basicportallocator.cc
+++ b/webrtc/p2p/client/basicportallocator.cc
@@ -58,7 +58,7 @@ int GetProtocolPriority(cricket::ProtocolType protocol) {
case cricket::PROTO_SSLTCP:
return 0;
default:
- RTC_DCHECK(false);
+ RTC_NOTREACHED();
return 0;
}
}
@@ -70,7 +70,7 @@ int GetAddressFamilyPriority(int ip_family) {
case AF_INET:
return 1;
default:
- RTC_DCHECK(false);
+ RTC_NOTREACHED();
return 0;
}
}
« no previous file with comments | « webrtc/p2p/base/transportcontroller.cc ('k') | webrtc/pc/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698