Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: net/quic/test_tools/quic_packet_creator_peer.cc

Issue 1667003002: Replace QuicEncryptedPacket's fields with equivalents in SerializedPacket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113395732
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_utils.cc ('k') | net/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « net/quic/quic_utils.cc ('k') | net/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698