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

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

Issue 2426603003: refactor only: Move around flag protection. (Closed)
Patch Set: Created 4 years, 2 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_crypto_stream.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_stream_sequencer.cc
diff --git a/net/quic/core/quic_stream_sequencer.cc b/net/quic/core/quic_stream_sequencer.cc
index 597244b5436ddef4c2184922947d3699c593c89c..5ffec7eeb56d8a9ac028182655a7fc80014c3559 100644
--- a/net/quic/core/quic_stream_sequencer.cc
+++ b/net/quic/core/quic_stream_sequencer.cc
@@ -198,7 +198,7 @@ void QuicStreamSequencer::ReleaseBuffer() {
}
void QuicStreamSequencer::ReleaseBufferIfEmpty() {
- if (FLAGS_quic_release_crypto_stream_buffer && buffered_frames_.Empty()) {
+ if (buffered_frames_.Empty()) {
buffered_frames_.ReleaseWholeBuffer();
}
}
« no previous file with comments | « net/quic/core/quic_crypto_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698