Internal QUICHE change PiperOrigin-RevId: 294943895 Change-Id: Ib804fc21e526beb540047976bf05212dd1f2f244
diff --git a/quic/core/congestion_control/bandwidth_sampler.cc b/quic/core/congestion_control/bandwidth_sampler.cc index d4eeabe..6ecd886 100644 --- a/quic/core/congestion_control/bandwidth_sampler.cc +++ b/quic/core/congestion_control/bandwidth_sampler.cc
@@ -206,13 +206,7 @@ // If two packets are inflight and an alarm is armed to lose a packet and it // wakes up late, then the first of two in flight packets could have been // acknowledged before the wakeup, which re-evaluates loss detection, and - // could declare the later of the two lost. However, this is an edge case - // that should not happen in the test environments, hence the DCHECK. - DCHECK(lost_packets.back().packet_number < - acked_packets.back().packet_number) - << "Largest lost packet should be less than largest acked packet: " - << lost_packets.back().packet_number << " vs. " - << acked_packets.back().packet_number; + // could declare the later of the two lost. event_sample.last_packet_send_state = lost_packets.back().packet_number > acked_packets.back().packet_number ? last_lost_packet_send_state