blob: 3a6ea3c2cf9195c5fcc5cf6a5deb6958f5445c81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$OpenBSD: patch-chrome_app_chrome_main_cc,v 1.20 2021/11/16 11:28:45 robert Exp $
Index: chrome/app/chrome_main.cc
--- chrome/app/chrome_main.cc.orig
+++ chrome/app/chrome_main.cc
@@ -146,7 +146,7 @@ int ChromeMain(int argc, const char** argv) {
headless::SetUpCommandLine(command_line);
} else {
#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);
#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) ||
|