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

Unified Diff: net/tools/quic/quic_client_base.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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
Index: net/tools/quic/quic_client_base.cc
diff --git a/net/tools/quic/quic_client_base.cc b/net/tools/quic/quic_client_base.cc
index 1b7ed1ed4ab747cac2af21c96f3644645ab47257..0695ba2690dc506c311aec3462903a3a223cf749 100644
--- a/net/tools/quic/quic_client_base.cc
+++ b/net/tools/quic/quic_client_base.cc
@@ -378,8 +378,8 @@ QuicConnectionId QuicClientBase::GetNextServerDesignatedConnectionId() {
crypto_config_.LookupOrCreate(server_id_);
// If the cached state indicates that we should use a server-designated
// connection ID, then return that connection ID.
- CHECK(cached != nullptr) << "QuicClientCryptoConfig::LookupOrCreate returned "
- << "unexpected nullptr.";
+ // QuicClientCryptoConfig::LookupOrCreate returned unexpected nullptr.
+ CHECK(cached != nullptr);
return cached->has_server_designated_connection_id()
? cached->GetNextServerDesignatedConnectionId()
: 0;

Powered by Google App Engine
This is Rietveld 408576698