Index: net/quic/test_tools/quic_packet_creator_peer.cc |
diff --git a/net/quic/test_tools/quic_packet_creator_peer.cc b/net/quic/test_tools/quic_packet_creator_peer.cc |
index 90e469f121a4c5c01861ba7ac0de3bf8cf9f6306..6ec2a724c922f9c19cc99492a8101134e4d89296 100644 |
--- a/net/quic/test_tools/quic_packet_creator_peer.cc |
+++ b/net/quic/test_tools/quic_packet_creator_peer.cc |
@@ -126,7 +126,7 @@ SerializedPacket QuicPacketCreatorPeer::SerializeAllFrames( |
creator->SerializePacket(buffer, buffer_len); |
SerializedPacket packet = creator->packet_; |
// The caller takes ownership of the QuicEncryptedPacket. |
- creator->packet_.packet = nullptr; |
+ creator->packet_.encrypted_buffer = nullptr; |
DCHECK(packet.retransmittable_frames.empty()); |
return packet; |
} |