1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/www/chromium/files/patch-chrome_app_chrome__main.cc
2021-04-27 16:29:47 +02:00

18 lines
791 B
C++

--- chrome/app/chrome_main.cc.orig 2021-04-14 18:40:49 UTC
+++ chrome/app/chrome_main.cc
@@ -130,12 +130,12 @@ int ChromeMain(int argc, const char** argv) {
MainThreadStackSamplingProfiler scoped_sampling_profiler;
// Chrome-specific process modes.
-#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || \
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || defined(OS_BSD) || \
defined(OS_WIN)
if (command_line->HasSwitch(switches::kHeadless)) {
return headless::HeadlessShellMain(params);
}
-#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) ||
+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || defined(OS_BSD) ||
// defined(OS_WIN)
int rv = content::ContentMain(params);