Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc |
index ac901dccdce50c8d60ba4cc99a1bf4d08d5c5e91..9aa6f23ea017ca082efd2d34288cdfe4a6aa8b32 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc |
@@ -223,7 +223,7 @@ void DataReductionProxyService::InitializeLoFiPrefs() { |
SetLoFiModeOff(); |
} else if (prefs_->GetInteger(prefs::kLoFiLoadImagesPerSession) < |
lo_fi_user_requests_for_images_per_session && |
- prefs_->GetInteger(prefs::kLoFiSnackbarsShownPerSession) >= |
+ prefs_->GetInteger(prefs::kLoFiUIShownPerSession) >= |
lo_fi_user_requests_for_images_per_session) { |
// If the last session didn't have |
// |lo_fi_user_requests_for_images_per_session|, but the user saw at least |
@@ -231,7 +231,7 @@ void DataReductionProxyService::InitializeLoFiPrefs() { |
prefs_->SetInteger(prefs::kLoFiConsecutiveSessionDisables, 0); |
} |
prefs_->SetInteger(prefs::kLoFiLoadImagesPerSession, 0); |
- prefs_->SetInteger(prefs::kLoFiSnackbarsShownPerSession, 0); |
+ prefs_->SetInteger(prefs::kLoFiUIShownPerSession, 0); |
prefs_->SetBoolean(prefs::kLoFiWasUsedThisSession, false); |
} |