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

Unified Diff: base/run_loop.cc

Issue 26727006: Revert 227566 "Fix some WeakPtrFactory members that aren't last" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1672/src/
Patch Set: 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 | « base/run_loop.h ('k') | chrome/renderer/pepper/pepper_flash_renderer_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/run_loop.cc
===================================================================
--- base/run_loop.cc (revision 228862)
+++ base/run_loop.cc (working copy)
@@ -10,13 +10,13 @@
RunLoop::RunLoop()
: loop_(MessageLoop::current()),
+ weak_factory_(this),
previous_run_loop_(NULL),
run_depth_(0),
run_called_(false),
quit_called_(false),
running_(false),
- quit_when_idle_received_(false),
- weak_factory_(this) {
+ quit_when_idle_received_(false) {
#if !defined(OS_MACOSX) && !defined(OS_ANDROID) && \
!defined(USE_GTK_MESSAGE_PUMP)
dispatcher_ = NULL;
@@ -27,14 +27,14 @@
!defined(USE_GTK_MESSAGE_PUMP)
RunLoop::RunLoop(MessageLoop::Dispatcher* dispatcher)
: loop_(MessageLoop::current()),
+ weak_factory_(this),
previous_run_loop_(NULL),
dispatcher_(dispatcher),
run_depth_(0),
run_called_(false),
quit_called_(false),
running_(false),
- quit_when_idle_received_(false),
- weak_factory_(this) {
+ quit_when_idle_received_(false) {
}
#endif
« no previous file with comments | « base/run_loop.h ('k') | chrome/renderer/pepper/pepper_flash_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698