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

Unified Diff: webrtc/p2p/quic/quictransport.cc

Issue 2620303003: Replace ASSERT by RTC_DCHECK in all non-test code. (Closed)
Patch Set: Address final nits. 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/socketmonitor.cc ('k') | webrtc/p2p/quic/quictransportchannel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/quic/quictransport.cc
diff --git a/webrtc/p2p/quic/quictransport.cc b/webrtc/p2p/quic/quictransport.cc
index 51f9a2b0a3fb2805d64e531e208e9b7da357b606..aaa11ebfcb65dc185337eebb19b6b45762cbd6ee 100644
--- a/webrtc/p2p/quic/quictransport.cc
+++ b/webrtc/p2p/quic/quictransport.cc
@@ -10,6 +10,7 @@
#include "webrtc/p2p/quic/quictransport.h"
+#include "webrtc/base/checks.h"
#include "webrtc/p2p/base/p2ptransportchannel.h"
namespace cricket {
@@ -87,7 +88,7 @@ void QuicTransport::DestroyTransportChannel(TransportChannelImpl* channel) {
}
bool QuicTransport::GetSslRole(rtc::SSLRole* ssl_role) const {
- ASSERT(ssl_role != NULL);
+ RTC_DCHECK(ssl_role != NULL);
*ssl_role = local_role_;
return true;
}
« no previous file with comments | « webrtc/p2p/client/socketmonitor.cc ('k') | webrtc/p2p/quic/quictransportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698