forked from Lainports/opnsense-ports
20 lines
763 B
C++
20 lines
763 B
C++
--- chrome/app/chrome_main.cc.orig 2022-08-31 12:19:35 UTC
|
|
+++ chrome/app/chrome_main.cc
|
|
@@ -26,7 +26,7 @@
|
|
#include "chrome/app/notification_metrics.h"
|
|
#endif
|
|
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
#include "base/base_switches.h"
|
|
#endif
|
|
|
|
@@ -152,7 +152,7 @@ int ChromeMain(int argc, const char** argv) {
|
|
headless::SetUpCommandLine(command_line);
|
|
} else {
|
|
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
|
|
- BUILDFLAG(IS_WIN)
|
|
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
|
|
if (command_line->HasSwitch(switches::kHeadless)) {
|
|
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
|
command_line->AppendSwitch(::headless::switches::kEnableCrashReporter);
|