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

Unified Diff: net/quic/core/quic_stream_sequencer_buffer.cc

Issue 2331343003: Deprecate flag FLAGS_quic_sequencer_buffer_retire_block_in_time. (Closed)
Patch Set: Created 4 years, 3 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/core/quic_flags_list.h ('k') | net/quic/core/quic_stream_sequencer_buffer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« no previous file with comments | « net/quic/core/quic_flags_list.h ('k') | net/quic/core/quic_stream_sequencer_buffer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698