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

Unified Diff: base/run_loop.h

Issue 26308002: Fix some WeakPtrFactory members that aren't last (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix weak ptr initialization Created 7 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
« no previous file with comments | « no previous file | base/run_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/run_loop.h
diff --git a/base/run_loop.h b/base/run_loop.h
index f5ee5c346653f3b31cff958fbfc6a45fdad1bc96..0dce6346e76189b804f6ce7f750497a9e2d9b59b 100644
--- a/base/run_loop.h
+++ b/base/run_loop.h
@@ -94,9 +94,6 @@ class BASE_EXPORT RunLoop {
MessageLoop* loop_;
- // WeakPtrFactory for QuitClosure safety.
- base::WeakPtrFactory<RunLoop> weak_factory_;
-
// Parent RunLoop or NULL if this is the top-most RunLoop.
RunLoop* previous_run_loop_;
@@ -116,6 +113,9 @@ class BASE_EXPORT RunLoop {
// that we should quit Run once it becomes idle.
bool quit_when_idle_received_;
+ // WeakPtrFactory for QuitClosure safety.
+ base::WeakPtrFactory<RunLoop> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(RunLoop);
};
« no previous file with comments | « no previous file | base/run_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698