aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc')
-rw-r--r--devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc b/devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc
new file mode 100644
index 000000000000..250124860e01
--- /dev/null
+++ b/devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut__manager.cc
@@ -0,0 +1,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);