aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc
blob: 250124860e01e03c2091b4d1eefcbbacaf9243f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/web_applications/os_integration/web_app_shortcut_manager.cc.orig	2023-10-19 19:58:08 UTC
+++ chrome/browser/web_applications/os_integration/web_app_shortcut_manager.cc
@@ -434,7 +434,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();
   DCHECK_LE(shortcuts_menu_item_infos.size(), kMaxApplicationDockMenuItems);