$OpenBSD: patch-chrome_browser_web_applications_web_app_shortcut_manager_cc,v 1.1 2021/10/29 14:49:40 robert Exp $

Index: chrome/browser/web_applications/web_app_shortcut_manager.cc
--- chrome/browser/web_applications/web_app_shortcut_manager.cc.orig
+++ chrome/browser/web_applications/web_app_shortcut_manager.cc
@@ -35,7 +35,7 @@ namespace web_app {
 
 namespace {
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 // Aligns with other platform implementations that only support 10 items.
 constexpr int kMaxApplicationDockMenuItems = 10;
 #endif  // defined(OS_LINUX)
@@ -379,7 +379,7 @@ std::unique_ptr<ShortcutInfo> WebAppShortcutManager::B
     }
   }
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   const std::vector<WebApplicationShortcutsMenuItemInfo>&
       shortcuts_menu_item_infos = app->shortcuts_menu_item_infos();
   int num_entries = std::min(static_cast<int>(shortcuts_menu_item_infos.size()),
