Index: net/tools/quic/quic_dispatcher.cc |
diff --git a/net/tools/quic/quic_dispatcher.cc b/net/tools/quic/quic_dispatcher.cc |
index 9c87544bfd9aec78884e9167fb10cb773d624cf2..b1f351fea104448d7253eded25304171189dcccb 100644 |
--- a/net/tools/quic/quic_dispatcher.cc |
+++ b/net/tools/quic/quic_dispatcher.cc |
@@ -493,14 +493,14 @@ void QuicDispatcher::OnConnectionClosed(QuicConnectionId connection_id, |
if (it == session_map_.end()) { |
QUIC_BUG << "ConnectionId " << connection_id |
<< " does not exist in the session map. Error: " |
- << QuicUtils::ErrorToString(error); |
+ << QuicErrorCodeToString(error); |
QUIC_BUG << base::debug::StackTrace().ToString(); |
return; |
} |
DVLOG_IF(1, error != QUIC_NO_ERROR) |
<< "Closing connection (" << connection_id |
- << ") due to error: " << QuicUtils::ErrorToString(error) |
+ << ") due to error: " << QuicErrorCodeToString(error) |
<< ", with details: " << error_details; |
if (closed_session_list_.empty()) { |
@@ -536,7 +536,7 @@ void QuicDispatcher::OnPacket() {} |
void QuicDispatcher::OnError(QuicFramer* framer) { |
QuicErrorCode error = framer->error(); |
SetLastError(error); |
- DVLOG(1) << QuicUtils::ErrorToString(error); |
+ DVLOG(1) << QuicErrorCodeToString(error); |
} |
bool QuicDispatcher::ShouldCreateSessionForUnknownVersion(QuicTag version_tag) { |