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 0475bf71d6125ea65b5ddf3818bcdc9d1da1d455..51fc0e45747f5a95a8ec295a48dd755df3dfa6f9 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 |
@@ -1158,7 +1158,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 = |