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

Unified Diff: net/quic/quic_unacked_packet_map_test.cc

Issue 1576553003: relnote: n/a (test only) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@08_CL_111560672
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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_unacked_packet_map_test.cc
diff --git a/net/quic/quic_unacked_packet_map_test.cc b/net/quic/quic_unacked_packet_map_test.cc
index 97c94be5aedb659a2c0dc84e9fe7031372efc5b3..1adc819e5f689bc120df4f00e389937c05d13b28 100644
--- a/net/quic/quic_unacked_packet_map_test.cc
+++ b/net/quic/quic_unacked_packet_map_test.cc
@@ -30,10 +30,8 @@ class QuicUnackedPacketMapTest : public ::testing::Test {
~QuicUnackedPacketMapTest() override { STLDeleteElements(&packets_); }
SerializedPacket CreateRetransmittablePacket(QuicPacketNumber packet_number) {
- packets_.push_back(new QuicEncryptedPacket(nullptr, kDefaultLength));
- return SerializedPacket(kDefaultPathId, packet_number,
- PACKET_1BYTE_PACKET_NUMBER, packets_.back(), 0,
- new RetransmittableFrames(), false, false);
+ return CreateRetransmittablePacketForStream(packet_number,
+ kHeadersStreamId);
}
SerializedPacket CreateRetransmittablePacketForStream(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698