Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.cc |
index 564438b2bde7a8416cf86d48951b210be1b4f0ab..1347e08c38556cc8c3e1be8b899a7cd8088be373 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.cc |
@@ -102,7 +102,7 @@ base::ListValue* DataReductionProxyStatisticsPrefs::GetList( |
return list_pref_map_.get(pref_path); |
} |
-void DataReductionProxyStatisticsPrefs::WritePrefs() { |
+void DataReductionProxyStatisticsPrefs::WriteStats() { |
if (delay_ == base::TimeDelta()) |
return; |
@@ -127,9 +127,9 @@ void DataReductionProxyStatisticsPrefs::DelayedWritePrefs() { |
task_runner_->PostDelayedTask( |
FROM_HERE, |
- base::Bind(&DataReductionProxyStatisticsPrefs::WritePrefs, |
+ base::Bind(&DataReductionProxyStatisticsPrefs::WriteStats, |
weak_factory_.GetWeakPtr()), |
- delay_); |
+ delay_); |
delayed_task_posted_ = true; |
} |