Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc |
index 0cfbcc702f1618986f9f2d8c0ad4756645b6bba6..2fe038cbfd264a078892abaac36464ccde61dfd1 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc |
@@ -213,7 +213,8 @@ void DataReductionProxySettings::UpdateIOData(bool at_startup) { |
data_reduction_proxy_service_->SetProxyPrefs( |
IsDataReductionProxyEnabled(), IsDataReductionProxyAlternativeEnabled(), |
at_startup); |
- data_reduction_proxy_service_->RetrieveConfig(); |
+ if (IsDataReductionProxyEnabled()) |
+ data_reduction_proxy_service_->RetrieveConfig(); |
} |
void DataReductionProxySettings::MaybeActivateDataReductionProxy( |