| 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 dd8aa406385bf0b224a860a9b0b48e2c6ce27d15..3fffa2db333bd4d26e14c09e4de0d4464ab31ffe 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
|
| @@ -1034,10 +1034,10 @@ void DesktopWindowTreeHostX11::InitX11Window(
|
| // use the ARGB visual. Otherwise, just use our parent's visual.
|
| Visual* visual = CopyFromParent;
|
| int depth = CopyFromParent;
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableTransparentVisuals) &&
|
| - XGetSelectionOwner(xdisplay_,
|
| - atom_cache_.GetAtom("_NET_WM_CM_S0")) != None) {
|
| + XGetSelectionOwner(xdisplay_, atom_cache_.GetAtom("_NET_WM_CM_S0")) !=
|
| + None) {
|
| Visual* rgba_visual = GetARGBVisual();
|
| if (rgba_visual) {
|
| visual = rgba_visual;
|
|
|