Index: net/quic/quic_connection_logger.cc |
diff --git a/net/quic/quic_connection_logger.cc b/net/quic/quic_connection_logger.cc |
index 33fa4e0c68bde2d71c7a2ae6c8ed9a29c50e9370..d71c83acc0679fea3aad1abaa61c8f25325ecfc3 100644 |
--- a/net/quic/quic_connection_logger.cc |
+++ b/net/quic/quic_connection_logger.cc |
@@ -459,9 +459,10 @@ void QuicConnectionLogger::OnPacketReceived(const IPEndPoint& self_address, |
const QuicEncryptedPacket& packet) { |
if (local_address_from_self_.GetFamily() == ADDRESS_FAMILY_UNSPECIFIED) { |
local_address_from_self_ = self_address; |
- UMA_HISTOGRAM_ENUMERATION("Net.QuicSession.ConnectionTypeFromSelf", |
- GetRealAddressFamily(self_address.address()), |
- ADDRESS_FAMILY_LAST); |
+ UMA_HISTOGRAM_ENUMERATION( |
+ "Net.QuicSession.ConnectionTypeFromSelf", |
+ GetRealAddressFamily(self_address.address().bytes()), |
+ ADDRESS_FAMILY_LAST); |
} |
previous_received_packet_size_ = last_received_packet_size_; |
@@ -660,7 +661,7 @@ void QuicConnectionLogger::OnCryptoHandshakeMessageReceived( |
local_address_from_shlo_ = IPEndPoint(decoder.ip(), decoder.port()); |
UMA_HISTOGRAM_ENUMERATION( |
"Net.QuicSession.ConnectionTypeFromPeer", |
- GetRealAddressFamily(local_address_from_shlo_.address()), |
+ GetRealAddressFamily(local_address_from_shlo_.address().bytes()), |
ADDRESS_FAMILY_LAST); |
} |
} |