$OpenBSD: patch-chrome_app_chrome_main_cc,v 1.14 2021/04/16 18:15:05 robert Exp $

Index: chrome/app/chrome_main.cc
--- chrome/app/chrome_main.cc.orig
+++ chrome/app/chrome_main.cc
@@ -131,7 +131,7 @@ int ChromeMain(int argc, const char** argv) {
 
   // Chrome-specific process modes.
 #if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || \
-    defined(OS_WIN)
+    defined(OS_WIN) || defined(OS_BSD)
   if (command_line->HasSwitch(switches::kHeadless)) {
     return headless::HeadlessShellMain(params);
   }
