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

Unified Diff: ui/views/widget/desktop_aura/desktop_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/accessible_pane_view.cc ('k') | ui/views/widget/desktop_aura/desktop_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/desktop_aura/desktop_native_widget_aura.h
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.h b/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
index c68f4d49ae10559541f90d509db8ebaf7d2c76d2..b4383c882f7e09346927ee9a4f2170ce6c93cbf9 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
@@ -255,10 +255,6 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
scoped_ptr<DesktopCaptureClient> capture_client_;
- // The following factory is used for calls to close the NativeWidgetAura
- // instance.
- base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_;
-
// Child of the root, contains |content_window_|.
aura::Window* content_window_container_;
@@ -315,6 +311,10 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
// See class documentation for Widget in widget.h for a note about type.
Widget::InitParams::Type widget_type_;
+ // The following factory is used for calls to close the NativeWidgetAura
+ // instance.
+ base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_;
+
DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
};
« no previous file with comments | « ui/views/accessible_pane_view.cc ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698