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

Unified Diff: chrome/browser/net/predictor.h

Issue 575993002: Fix WeakPtrFactory member ordering in chrome/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: chrome/browser/net/predictor.h
diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h
index 85b8d1894cd031b11c8304931530d0df54cfec86..ad8df5ccab4f2996b4a82ebd4179c8e0fc18cbcc 100644
--- a/chrome/browser/net/predictor.h
+++ b/chrome/browser/net/predictor.h
@@ -589,13 +589,13 @@ class Predictor {
// A time after which we need to do more trimming of referrers.
base::TimeTicks next_trim_time_;
- scoped_ptr<base::WeakPtrFactory<Predictor> > weak_factory_;
-
scoped_ptr<ProxyAdvisor> proxy_advisor_;
// An observer for testing.
PredictorObserver* observer_;
+ scoped_ptr<base::WeakPtrFactory<Predictor> > weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(Predictor);
};
« no previous file with comments | « chrome/browser/net/net_error_tab_helper.cc ('k') | chrome/browser/password_manager/chrome_password_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698