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

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

Issue 2124633002: Add new gpu driver bug workaround DISABLE_TRANSPARENT_VISUALS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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.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 =

Powered by Google App Engine
This is Rietveld 408576698