| 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 1316b8b2d0eb80567429451e029ab661e111ce14..01661a853a6dbb0c6eacad84de99b10f13f08457 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
|
| @@ -793,9 +793,7 @@ void DesktopWindowTreeHostX11::SetWindowIcons(
|
| if (app_icon.HasRepresentation(1.0f))
|
| SerializeImageRepresentation(app_icon.GetRepresentation(1.0f), &data);
|
|
|
| - if (data.empty())
|
| - XDeleteProperty(xdisplay_, xwindow_, atom_cache_.GetAtom("_NET_WM_ICON"));
|
| - else
|
| + if (!data.empty())
|
| ui::SetAtomArrayProperty(xwindow_, "_NET_WM_ICON", "CARDINAL", data);
|
| }
|
|
|
|
|