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

Unified Diff: net/spdy/hpack/hpack_header_table.cc

Issue 2716393002: Deprecate hpack_table_size flag, remove dead code. (Closed)
Patch Set: Created 3 years, 10 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/spdy/fuzzing/hpack_fuzz_wrapper.cc ('k') | net/spdy/hpack/hpack_header_table_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack/hpack_header_table.cc
diff --git a/net/spdy/hpack/hpack_header_table.cc b/net/spdy/hpack/hpack_header_table.cc
index d6fc7d250a8bf4e613b13919862931c0eb3a5364..274e872a716fa35112b535c6856389a5dd5c8288 100644
--- a/net/spdy/hpack/hpack_header_table.cc
+++ b/net/spdy/hpack/hpack_header_table.cc
@@ -127,13 +127,7 @@ void HpackHeaderTable::SetMaxSize(size_t max_size) {
void HpackHeaderTable::SetSettingsHeaderTableSize(size_t settings_size) {
settings_size_bound_ = settings_size;
- if (!FLAGS_chromium_reloadable_flag_increase_hpack_table_size) {
- if (settings_size_bound_ < max_size_) {
- SetMaxSize(settings_size_bound_);
- }
- } else {
- SetMaxSize(settings_size_bound_);
- }
+ SetMaxSize(settings_size_bound_);
}
void HpackHeaderTable::EvictionSet(StringPiece name,
« no previous file with comments | « net/spdy/fuzzing/hpack_fuzz_wrapper.cc ('k') | net/spdy/hpack/hpack_header_table_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698