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

Unified Diff: net/quic/quic_framer.cc

Issue 2182723002: Remove redundant vector::reserve in QuicFramer::ProcessTimestampsInAckFrame. No functional change. … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@128162214
Patch Set: Created 4 years, 5 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_framer.cc
diff --git a/net/quic/quic_framer.cc b/net/quic/quic_framer.cc
index 007a94724ad7dc62562912045b5368764af26405..b819af9e513b028e5fd93a42a833c8c728fa70ab 100644
--- a/net/quic/quic_framer.cc
+++ b/net/quic/quic_framer.cc
@@ -1574,7 +1574,6 @@ bool QuicFramer::ProcessTimestampsInAckFrame(QuicDataReader* reader,
}
if (num_received_packets > 0) {
- ack_frame->received_packet_times.reserve(num_received_packets);
uint8_t delta_from_largest_observed;
if (!reader->ReadBytes(&delta_from_largest_observed,
PACKET_1BYTE_PACKET_NUMBER)) {
« 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