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

Unified Diff: net/quic/quic_packet_generator.cc

Issue 870733002: Change some of QUIC's AckNotifier datastructures from maps to hashmaps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Add_new_RTO_connection_option_84036848
Patch Set: Created 5 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_packet_generator.h ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_generator.cc
diff --git a/net/quic/quic_packet_generator.cc b/net/quic/quic_packet_generator.cc
index f71788c48d46f631a4ae4e4bcd8e463d6e180703..bfecf5dae1823b07e3f6e071dc9fbdf9974b4be2 100644
--- a/net/quic/quic_packet_generator.cc
+++ b/net/quic/quic_packet_generator.cc
@@ -177,7 +177,7 @@ QuicConsumedData QuicPacketGenerator::ConsumeData(
// We want to track which packet this stream frame ends up in.
if (FLAGS_quic_attach_ack_notifiers_to_packets) {
if (notifier != nullptr) {
- ack_notifiers_.insert(notifier);
+ ack_notifiers_.push_back(notifier);
}
} else {
frame.stream_frame->notifier = notifier;
« no previous file with comments | « net/quic/quic_packet_generator.h ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698