mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
20 lines
748 B
C++
20 lines
748 B
C++
--- chrome/app/chrome_main.cc.orig 2023-01-11 09:17:16 UTC
|
|
+++ chrome/app/chrome_main.cc
|
|
@@ -25,7 +25,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
|
|
|
|
@@ -151,7 +151,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 (headless::IsOldHeadlessMode()) {
|
|
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
|
command_line->AppendSwitch(::headless::switches::kEnableCrashReporter);
|