diff options
Diffstat (limited to 'www/iridium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc')
-rw-r--r-- | www/iridium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/iridium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc b/www/iridium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc new file mode 100644 index 000000000000..1b6f9fc08584 --- /dev/null +++ b/www/iridium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc @@ -0,0 +1,20 @@ +--- chrome/browser/web_applications/os_integration/web_app_shortcut_manager.cc.orig 2022-04-01 07:48:30 UTC ++++ chrome/browser/web_applications/os_integration/web_app_shortcut_manager.cc +@@ -35,7 +35,7 @@ namespace web_app { + + namespace { + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // Aligns with other platform implementations that only support 10 items. + constexpr int kMaxApplicationDockMenuItems = 10; + #endif // BUILDFLAG(IS_LINUX) +@@ -382,7 +382,7 @@ std::unique_ptr<ShortcutInfo> WebAppShortcutManager::B + } + } + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + const std::vector<WebAppShortcutsMenuItemInfo>& shortcuts_menu_item_infos = + app->shortcuts_menu_item_infos(); + int num_entries = std::min(static_cast<int>(shortcuts_menu_item_infos.size()), |