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

Unified Diff: ui/views/widget/native_widget_aura.h

Issue 589413002: Fix WeakPtrFactory member ordering in ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unwanted header inclusions 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
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_aura.h
diff --git a/ui/views/widget/native_widget_aura.h b/ui/views/widget/native_widget_aura.h
index 6d9881c09168102c452f1e0cb1c4457a82485d87..a32dc876432d24c612ab1457939f6f7297bf901a 100644
--- a/ui/views/widget/native_widget_aura.h
+++ b/ui/views/widget/native_widget_aura.h
@@ -209,10 +209,6 @@ class VIEWS_EXPORT NativeWidgetAura
// See class documentation for Widget in widget.h for a note about ownership.
Widget::InitParams::Ownership ownership_;
- // The following factory is used for calls to close the NativeWidgetAura
- // instance.
- base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;
-
// Are we in the destructor?
bool destroying_;
@@ -230,6 +226,10 @@ class VIEWS_EXPORT NativeWidgetAura
scoped_ptr<DropHelper> drop_helper_;
int last_drop_operation_;
+ // The following factory is used for calls to close the NativeWidgetAura
+ // instance.
+ base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;
+
DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
};
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698