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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.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
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
index 12bd9a159f984acae24cf4add12c3d5a6ed1b430..eb696af204560caf6e4a1d22de5aed846768380f 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
@@ -239,8 +239,6 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
void DelayedResize(const gfx::Size& size);
- base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_;
-
// X11 things
// The display and the native X window hosting the root window.
XDisplay* xdisplay_;
@@ -339,6 +337,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
base::CancelableCallback<void()> delayed_resize_task_;
+ base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_;
+
DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
};

Powered by Google App Engine
This is Rietveld 408576698