pkgsrc-wip/chromium/patches/patch-chrome_browser_web__a...

14 lines
609 B
C++

$NetBSD$
--- chrome/browser/web_applications/components/web_app_shortcut.cc.orig 2020-07-08 21:40:36.000000000 +0000
+++ chrome/browser/web_applications/components/web_app_shortcut.cc
@@ -34,7 +34,7 @@ namespace {
#if defined(OS_MACOSX)
const int kDesiredIconSizesForShortcut[] = {16, 32, 128, 256, 512};
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
// Linux supports icons of any size. FreeDesktop Icon Theme Specification states
// that "Minimally you should install a 48x48 icon in the hicolor theme."
const int kDesiredIconSizesForShortcut[] = {16, 32, 48, 128, 256, 512};