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

Unified Diff: webrtc/p2p/base/p2ptransportchannel.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/dtlstransportchannel.cc ('k') | webrtc/p2p/base/transportcontroller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/p2ptransportchannel.cc
diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc
index 3fdaf0bad8e30427b2650b5b7d103aa61d4425a1..3fef947109eb93e17481479242289b0407c80c1a 100644
--- a/webrtc/p2p/base/p2ptransportchannel.cc
+++ b/webrtc/p2p/base/p2ptransportchannel.cc
@@ -1420,7 +1420,7 @@ void P2PTransportChannel::UpdateState() {
RTC_DCHECK(state == STATE_CONNECTING || state == STATE_COMPLETED);
break;
default:
- RTC_DCHECK(false);
+ RTC_NOTREACHED();
break;
}
state_ = state;
@@ -1759,7 +1759,7 @@ bool P2PTransportChannel::GetUseCandidateAttr(Connection* conn,
return selected || better_than_selected;
}
default:
- RTC_DCHECK(false);
+ RTC_NOTREACHED();
return false;
}
}
« no previous file with comments | « webrtc/p2p/base/dtlstransportchannel.cc ('k') | webrtc/p2p/base/transportcontroller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698