mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
be6259aac7
Tested by: Matthias Wolf, rene MFH: 2021Q2 Security: http://vuxml.freebsd.org/freebsd/cb13a765-a277-11eb-97a0-e09467587c17.html
18 lines
791 B
C++
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);
|