summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_browser_main_extra_parts_ash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chrome_browser_main_extra_parts_ash.cc')
-rw-r--r--chrome/browser/chrome_browser_main_extra_parts_ash.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/chrome_browser_main_extra_parts_ash.cc b/chrome/browser/chrome_browser_main_extra_parts_ash.cc
index 698bbf65..c8870da 100644
--- a/chrome/browser/chrome_browser_main_extra_parts_ash.cc
+++ b/chrome/browser/chrome_browser_main_extra_parts_ash.cc
@@ -16,7 +16,6 @@
#include "chrome/browser/ui/views/ash/key_rewriter.h"
#include "chrome/browser/ui/views/ash/screen_orientation_listener.h"
#include "chrome/browser/ui/views/ash/screenshot_taker.h"
-#include "chrome/browser/ui/views/ash/status_area_host_aura.h"
#include "ui/aura/env.h"
#include "ui/aura/aura_switches.h"
#include "ui/aura/monitor_manager.h"
@@ -78,11 +77,6 @@ void ChromeBrowserMainExtraPartsAsh::PreProfileInit() {
}
void ChromeBrowserMainExtraPartsAsh::PostProfileInit() {
- // Add the status area buttons after Profile has been initialized.
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- ash::switches::kDisableAshUberTray)) {
- ChromeShellDelegate::instance()->status_area_host()->AddButtons();
- }
}
void ChromeBrowserMainExtraPartsAsh::PostMainMessageLoopRun() {