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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 1886983003: Add a crash for debugging when we get into a bad state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set flase Created 4 years, 8 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 | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.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_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 1d3cbd7f8773b6c052e5c2115c3bec5ea79338c5..c174531b37b36cdb883ef98afb4f88bf143e79e6 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
@@ -259,6 +259,10 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
// Is the window mapped to the screen?
bool window_mapped_;
+ // Keeps track of whether we have ever mapped/withdrawn this
+ // window. Debugging information in trying to track down crbug.com/381732.
+ bool x_map_window_was_called_ = false;
+
// The bounds of |xwindow_|.
gfx::Rect bounds_in_pixels_;
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698