Index: chrome/app/chrome_main.cc |
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc |
index 0d7a8ad573e4f220d0fff90b8afe7255dba4b18f..2210192aa71c441f096499c9c2a25b462bc92c17 100644 |
--- a/chrome/app/chrome_main.cc |
+++ b/chrome/app/chrome_main.cc |
@@ -20,10 +20,6 @@ |
#include "chrome/common/channel_info.h" |
#include "components/version_info/version_info.h" |
#include "services/service_manager/runner/common/client_util.h" |
-#endif |
- |
-#if defined(OS_MACOSX) |
-#include "chrome/app/chrome_main_mac.h" |
#endif |
#if defined(OS_WIN) |
@@ -97,14 +93,10 @@ |
ALLOW_UNUSED_LOCAL(command_line); |
#endif |
-#if defined(OS_LINUX) || defined(OS_MACOSX) |
- if (command_line->HasSwitch(switches::kHeadless)) { |
-#if defined(OS_MACOSX) |
- SetUpBundleOverrides(); |
-#endif |
+#if defined(OS_LINUX) |
+ if (command_line->HasSwitch(switches::kHeadless)) |
return headless::HeadlessShellMain(argc, argv); |
- } |
-#endif // defined(OS_LINUX) || defined(OS_MACOSX) |
+#endif // defined(OS_LINUX) |
#if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) |
version_info::Channel channel = chrome::GetChannel(); |