Index: net/quic/quic_connection.cc |
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc |
index e8767b15c43b830a67c6d383ceaefcd6be4b078e..0fa6eafe0d496e3225cf3e0c3dbc16fc566d8b89 100644 |
--- a/net/quic/quic_connection.cc |
+++ b/net/quic/quic_connection.cc |
@@ -1585,8 +1585,8 @@ bool QuicConnection::WritePacketInner(QueuedPacket* packet) { |
// Pass the write result to the visitor. |
debug_visitor_->OnPacketSent( |
packet->serialized_packet, packet->original_packet_number, |
- packet->encryption_level, packet->transmission_type, *encrypted, |
- packet_send_time); |
+ packet->encryption_level, packet->transmission_type, |
+ encrypted->length(), packet_send_time); |
} |
if (packet->transmission_type == NOT_RETRANSMISSION) { |
time_of_last_sent_new_packet_ = packet_send_time; |