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

Unified Diff: net/filter/filter.cc

Issue 1291673003: SdchManager: remove EnableSdchSupport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete obsolete test Created 5 years, 4 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
Index: net/filter/filter.cc
diff --git a/net/filter/filter.cc b/net/filter/filter.cc
index 708ad814eea99537beb746e9d4f120d23581f026..f9c3712cf4ac1c788583f1731882709f90f8906b 100644
--- a/net/filter/filter.cc
+++ b/net/filter/filter.cc
@@ -379,8 +379,7 @@ Filter* Filter::PrependNewFilter(FilterType type_id,
break;
case FILTER_TYPE_SDCH:
case FILTER_TYPE_SDCH_POSSIBLE:
- if (filter_context.GetURLRequestContext()->sdch_manager() &&
- SdchManager::sdch_enabled()) {
+ if (filter_context.GetURLRequestContext()->sdch_manager()) {
first_filter.reset(
InitSdchFilter(type_id, filter_context, buffer_size));
}

Powered by Google App Engine
This is Rietveld 408576698