Index: net/quic/quic_connection_test.cc |
diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc |
index 2e99e4dca2f90b14045b9ff81253ad01675b19b7..2b68fb4f78750ccaad5e2d7820449aa1841de189 100644 |
--- a/net/quic/quic_connection_test.cc |
+++ b/net/quic/quic_connection_test.cc |
@@ -468,9 +468,9 @@ class TestConnection : public QuicConnection { |
kMaxPacketSize); |
delete packet; |
SerializedPacket serialized_packet( |
- kDefaultPathId, packet_number, PACKET_6BYTE_PACKET_NUMBER, buffer, |
- encrypted_length, false, entropy_hash, retransmittable_frames, false, |
- NOT_HANDSHAKE, has_ack, has_pending_frames, ENCRYPTION_NONE); |
+ kDefaultPathId, packet_number, PACKET_6BYTE_PACKET_NUMBER, |
+ new QuicEncryptedPacket(buffer, encrypted_length, false), entropy_hash, |
+ retransmittable_frames, has_ack, has_pending_frames); |
OnSerializedPacket(&serialized_packet); |
} |