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

Unified Diff: net/quic/quic_unacked_packet_map.cc

Issue 491663003: Remove largest_observed_ from QuicSentPacketManager, since it's also in (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Optimize_EntropyTracker_73709652
Patch Set: Created 6 years, 4 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_unacked_packet_map.h ('k') | 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.cc
diff --git a/net/quic/quic_unacked_packet_map.cc b/net/quic/quic_unacked_packet_map.cc
index 185d995b1d2c0bbd43cd067591fa0fd8c3b3a1a3..359f2d190b1c77a533eb87569b64f8d010469c3d 100644
--- a/net/quic/quic_unacked_packet_map.cc
+++ b/net/quic/quic_unacked_packet_map.cc
@@ -184,7 +184,7 @@ void QuicUnackedPacketMap::MaybeRemoveRetransmittableFrames(
void QuicUnackedPacketMap::IncreaseLargestObserved(
QuicPacketSequenceNumber largest_observed) {
- DCHECK_LT(largest_observed_, largest_observed);
+ DCHECK_LE(largest_observed_, largest_observed);
largest_observed_ = largest_observed;
UnackedPacketMap::iterator it = unacked_packets_.begin();
while (it != unacked_packets_.end() && it->first <= largest_observed_) {
« no previous file with comments | « net/quic/quic_unacked_packet_map.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698