Index: components/previews/core/previews_io_data.cc |
diff --git a/components/previews/core/previews_io_data.cc b/components/previews/core/previews_io_data.cc |
index 9c333b2a6f24bd40a42014c98b563fa1244b5831..0a7af37fda2653d9ddf580fe6411677afb1a1d84 100644 |
--- a/components/previews/core/previews_io_data.cc |
+++ b/components/previews/core/previews_io_data.cc |
@@ -113,7 +113,7 @@ bool PreviewsIOData::ShouldAllowPreview(const net::URLRequest& request, |
return false; |
} |
if (network_quality_estimator->GetEffectiveConnectionType() > |
- net::EFFECTIVE_CONNECTION_TYPE_SLOW_2G) { |
+ params::EffectiveConnectionTypeThreshold()) { |
LogPreviewsEligibilityReason(PreviewsEligibilityReason::NETWORK_NOT_SLOW, |
type); |
return false; |