refactor: omit duplicates from app's x11 icon list (#22736)

This commit is contained in:
Charles Kerr
2020-03-19 16:12:07 -05:00
committed by GitHub
parent 02eff88e1b
commit 54a8258c1c

View File

@@ -1288,7 +1288,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HICON app_icon) {
void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) {
auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget(
GetAcceleratedWidget());
tree_host->SetWindowIcons(icon, icon);
tree_host->SetWindowIcons(icon, {});
}
#endif