Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
index f1cc3f6323893dbdf784a7c9cc795b2d5a13d903..7821e1531c2bdf774d518a3bb8ff4d0228ffac0f 100644 |
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
@@ -1147,7 +1147,7 @@ void DesktopWindowTreeHostX11::InitX11Window( |
Visual* visual; |
int depth; |
- ui::ChooseVisualForWindow(&visual, &depth); |
+ ui::ChooseVisualForWindow(true, &visual, &depth); |
if (depth == 32) { |
attribute_mask |= CWColormap; |
swa.colormap = |