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

Unified Diff: webrtc/api/quicdatachannel.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/api/peerconnection.cc ('k') | webrtc/api/quicdatatransport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/quicdatachannel.cc
diff --git a/webrtc/api/quicdatachannel.cc b/webrtc/api/quicdatachannel.cc
index 5493382e1a022650b997d678a7742b24b6fc14be..2ab2a3444fa6ee52c2771154a5598ab773fd0d31 100644
--- a/webrtc/api/quicdatachannel.cc
+++ b/webrtc/api/quicdatachannel.cc
@@ -173,7 +173,7 @@ void QuicDataChannel::OnQueuedBytesWritten(net::QuicStreamId stream_id,
SetBufferedAmount_w(buffered_amount_ - queued_bytes_written);
const auto& kv = write_blocked_quic_streams_.find(stream_id);
if (kv == write_blocked_quic_streams_.end()) {
- RTC_DCHECK(false);
+ RTC_NOTREACHED();
return;
}
cricket::ReliableQuicStream* stream = kv->second;
@@ -301,7 +301,7 @@ void QuicDataChannel::OnDataReceived(net::QuicStreamId stream_id,
RTC_DCHECK(data);
const auto& kv = incoming_quic_messages_.find(stream_id);
if (kv == incoming_quic_messages_.end()) {
- RTC_DCHECK(false);
+ RTC_NOTREACHED();
return;
}
Message& message = kv->second;
« no previous file with comments | « webrtc/api/peerconnection.cc ('k') | webrtc/api/quicdatatransport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698