summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_main_mac.mm')
-rw-r--r--chrome/browser/browser_main_mac.mm7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/browser_main_mac.mm b/chrome/browser/browser_main_mac.mm
index 3f4017d..5aa5999 100644
--- a/chrome/browser/browser_main_mac.mm
+++ b/chrome/browser/browser_main_mac.mm
@@ -68,13 +68,6 @@ class BrowserMainPartsMac : public BrowserMainPartsPosix {
: BrowserMainPartsPosix(parameters) {}
protected:
- virtual void PreEarlyInitialization() {
- if (mac_util::WasLaunchedAsHiddenLoginItem()) {
- CommandLine* singleton_command_line = CommandLine::ForCurrentProcess();
- singleton_command_line->AppendSwitch(switches::kNoStartupWindow);
- }
- }
-
virtual void PreMainMessageLoopStart() {
BrowserMainPartsPosix::PreMainMessageLoopStart();