Index: net/quic/core/quic_stream_sequencer_buffer.cc |
diff --git a/net/quic/core/quic_stream_sequencer_buffer.cc b/net/quic/core/quic_stream_sequencer_buffer.cc |
index c839e0795720cb4dadc9f183a187a2a5b33b8bdd..c761a625297078f36775d543d4e2602128394e4f 100644 |
--- a/net/quic/core/quic_stream_sequencer_buffer.cc |
+++ b/net/quic/core/quic_stream_sequencer_buffer.cc |
@@ -471,13 +471,9 @@ void QuicStreamSequencerBuffer::RetireBlockIfEmpty(size_t block_index) { |
DCHECK(first_gap.begin_offset == total_bytes_read_); |
// Check where the next piece data is. |
// Not empty if next piece of data is still in this chunk. |
- bool gap_extends_to_infinity = |
- (first_gap.end_offset == std::numeric_limits<QuicStreamOffset>::max()); |
bool gap_ends_in_this_block = |
(GetBlockIndex(first_gap.end_offset) == block_index); |
- if ((!FLAGS_quic_sequencer_buffer_retire_block_in_time && |
- !gap_extends_to_infinity) || |
- gap_ends_in_this_block) { |
+ if (gap_ends_in_this_block) { |
return; |
} |
} |