aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-chrome_browser_shortcuts_icon__badging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-chrome_browser_shortcuts_icon__badging.cc')
-rw-r--r--devel/electron38/files/patch-chrome_browser_shortcuts_icon__badging.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-chrome_browser_shortcuts_icon__badging.cc b/devel/electron38/files/patch-chrome_browser_shortcuts_icon__badging.cc
new file mode 100644
index 000000000000..98e27521c5b0
--- /dev/null
+++ b/devel/electron38/files/patch-chrome_browser_shortcuts_icon__badging.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/shortcuts/icon_badging.cc.orig 2024-06-18 21:43:23 UTC
++++ chrome/browser/shortcuts/icon_badging.cc
+@@ -59,7 +59,7 @@ constexpr ShortcutSize kSizesNeededForShortcutCreation
+ constexpr ShortcutSize kSizesNeededForShortcutCreation[] = {
+ ShortcutSize::k16, ShortcutSize::k32, ShortcutSize::k128,
+ ShortcutSize::k256, ShortcutSize::k512};
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ constexpr ShortcutSize kSizesNeededForShortcutCreation[] = {ShortcutSize::k32,
+ ShortcutSize::k128};
+ #elif BUILDFLAG(IS_WIN)