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

Unified Diff: ui/aura/window_event_dispatcher.h

Issue 589413002: Fix WeakPtrFactory member ordering in ui (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: ui/aura/window_event_dispatcher.h
diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h
index 8494123c1e30bd33863431a1ff63ea725a3e9650..68c947c505927652df60cd29d103e00674e0337a 100644
--- a/ui/aura/window_event_dispatcher.h
+++ b/ui/aura/window_event_dispatcher.h
@@ -258,12 +258,12 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
ScopedObserver<aura::Window, aura::WindowObserver> observer_manager_;
- // Used to schedule reposting an event.
- base::WeakPtrFactory<WindowEventDispatcher> repost_event_factory_;
-
// Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0.
base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_;
+ // Used to schedule reposting an event.
+ base::WeakPtrFactory<WindowEventDispatcher> repost_event_factory_;
+
DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher);
};

Powered by Google App Engine
This is Rietveld 408576698