$OpenBSD: patch-chrome_browser_web_applications_web_app_utils_cc,v 1.4 2021/11/16 11:28:46 robert Exp $

Index: chrome/browser/web_applications/web_app_utils.cc
--- chrome/browser/web_applications/web_app_utils.cc.orig
+++ chrome/browser/web_applications/web_app_utils.cc
@@ -227,7 +227,7 @@ std::u16string GetFileTypeAssociationsHandledByWebApps
   const apps::FileHandlers file_handlers =
       GetFileHandlersForAllWebAppsWithOrigin(profile, url);
   std::vector<std::string> associations;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   std::set<std::string> mime_types_set =
       apps::GetMimeTypesFromFileHandlers(file_handlers);
   associations.reserve(mime_types_set.size());
