blob: adfcbba22044b3d9945f3254a869efb382e2dae0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- chrome/app/chrome_main.cc.orig 2019-04-10 10:50:03 UTC
+++ chrome/app/chrome_main.cc
@@ -110,11 +110,11 @@ int ChromeMain(int argc, const char** argv) {
#endif
// Chrome-specific process modes.
-#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
+#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_BSD)
if (command_line->HasSwitch(switches::kHeadless)) {
return headless::HeadlessShellMain(params);
}
-#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
+#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_BSD)
int rv = content::ContentMain(params);
|