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

* refactor: omit duplicates from app's x11 icon list

* empty commit for ci
This commit is contained in:
Charles Kerr
2020-03-17 19:31:31 -05:00
committed by GitHub
parent 83d5833b4f
commit 01d5154f4f

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