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

Unified Diff: net/quic/quic_sent_packet_manager.cc

Issue 1421853006: Landing Recent QUIC changes until: Fri Oct 30 22:23:58 2015 +0000 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 years, 1 month 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_reliable_client_stream_test.cc ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sent_packet_manager.cc
diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc
index 3d4fb9b6c38a24bf4dfcef04bf84cb7b937caa16..586d27a17fa08b7f7ba6a8ee69e647b5a50bd4e5 100644
--- a/net/quic/quic_sent_packet_manager.cc
+++ b/net/quic/quic_sent_packet_manager.cc
@@ -326,10 +326,8 @@ void QuicSentPacketManager::HandleAckForSentPackets(
}
// Discard any retransmittable frames associated with revived packets.
- for (PacketNumberSet::const_iterator revived_it =
- ack_frame.revived_packets.begin();
- revived_it != ack_frame.revived_packets.end(); ++revived_it) {
- MarkPacketRevived(*revived_it, delta_largest_observed);
+ if (ack_frame.latest_revived_packet != 0) {
+ MarkPacketRevived(ack_frame.latest_revived_packet, delta_largest_observed);
}
}
« no previous file with comments | « net/quic/quic_reliable_client_stream_test.cc ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698