$OpenBSD: patch-chrome_app_chrome_main_cc,v 1.9 2019/09/23 07:18:03 robert Exp $

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