aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc
blob: 7dbbe632990eb529ad119306f5e999484ff94f82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc.orig	2023-05-25 00:41:56 UTC
+++ extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc
@@ -44,7 +44,7 @@ void ShellRuntimeAPIDelegate::OpenURL(const GURL& unin
 bool ShellRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
 #if BUILDFLAG(IS_CHROMEOS_ASH)
   info->os = api::runtime::PlatformOs::kCros;
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
   info->os = api::runtime::PlatformOs::kLinux;
 #endif
   return true;