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

Unified Diff: net/quic/congestion_control/quic_send_scheduler.cc

Issue 11439003: Revert 171096 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 | net/quic/congestion_control/quic_send_scheduler_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/quic_send_scheduler.cc
===================================================================
--- net/quic/congestion_control/quic_send_scheduler.cc (revision 171102)
+++ net/quic/congestion_control/quic_send_scheduler.cc (working copy)
@@ -97,7 +97,8 @@
while (it != it_upper) {
QuicPacketSequenceNumber sequence_number = it->first;
- if (ack_frame.received_info.ContainsAck(sequence_number)) {
+ if (ack_frame.received_info.missing_packets.find(sequence_number) ==
+ ack_frame.received_info.missing_packets.end()) {
// Not missing, hence implicitly acked.
scoped_ptr<PendingPacket> pending_packet_cleaner(it->second);
acked_packets[sequence_number] = pending_packet_cleaner->BytesSent();
« no previous file with comments | « no previous file | net/quic/congestion_control/quic_send_scheduler_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698