summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/predictor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/predictor.cc')
-rw-r--r--chrome/browser/net/predictor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc
index 74b1c8a..6c4121f 100644
--- a/chrome/browser/net/predictor.cc
+++ b/chrome/browser/net/predictor.cc
@@ -337,8 +337,8 @@ void Predictor::InitNetworkPredictor(PrefService* user_prefs,
// Until then, we may create a proxy advisor when the proxy feature itself
// isn't available, and the advisor instance will never send advisory
// requests, which is slightly wasteful but not harmful.
- if (data_reduction_proxy::DataReductionProxyParams::
- IsIncludedInPreconnectHintingFieldTrial()) {
+ if (data_reduction_proxy::DataReductionProxySettings::
+ IsPreconnectHintingAllowed()) {
proxy_advisor_.reset(new ProxyAdvisor(user_prefs, getter));
}
#endif