Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: components/data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.cc

Issue 630983003: Declaring the weak_ptr_factory in proper order in src/components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.cc
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.cc
index 39b737da4a17e3ca187e317201ba30064b444078..c6bef3637070fa857b2426e927d78d4b61730e22 100644
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.cc
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.cc
@@ -22,9 +22,9 @@ DataReductionProxyStatisticsPrefs::DataReductionProxyStatisticsPrefs(
const base::TimeDelta& delay)
: pref_service_(prefs),
task_runner_(task_runner),
- weak_factory_(this),
delay_(delay),
- delayed_task_posted_(false) {
+ delayed_task_posted_(false),
+ weak_factory_(this) {
DCHECK(prefs);
DCHECK_GE(delay.InMilliseconds(), 0);
Init();

Powered by Google App Engine
This is Rietveld 408576698