electron/shell/browser/ui/gtk
trop[bot] 8f908ffce2
perf: don't create unused menuitem icons (#47128)
GTK >= 3.90.0 removed support for menuitem icons. When Electron is
built with GTK >= 3.90.0, our code builds these icons and then throws
them away unused. Instead, let's just not build them.

Our gtk_util::GdkPixbufFromSkBitmap utility uses BGRAToRGBA and is
expensive to call.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-05-16 11:05:26 -05:00
..
menu_gtk.cc chore: bump chromium to 119.0.6045.0 (main) (#40076) 2023-10-05 19:59:39 -04:00
menu_gtk.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
menu_util.cc perf: don't create unused menuitem icons (#47128) 2025-05-16 11:05:26 -05:00
menu_util.h perf: don't create unused menuitem icons (#47128) 2025-05-16 11:05:26 -05:00