diff options
Diffstat (limited to 'ash/system/chromeos/tray_display.cc')
-rw-r--r-- | ash/system/chromeos/tray_display.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/system/chromeos/tray_display.cc b/ash/system/chromeos/tray_display.cc index be9adec..6f4142b 100644 --- a/ash/system/chromeos/tray_display.cc +++ b/ash/system/chromeos/tray_display.cc @@ -7,8 +7,8 @@ #include <vector> #include "ash/content/display/screen_orientation_controller_chromeos.h" -#include "ash/display/display_controller.h" #include "ash/display/display_manager.h" +#include "ash/display/window_tree_host_manager.h" #include "ash/shell.h" #include "ash/system/chromeos/devicetype_utils.h" #include "ash/system/system_notifier.h" @@ -293,12 +293,12 @@ class DisplayView : public ActionableView { TrayDisplay::TrayDisplay(SystemTray* system_tray) : SystemTrayItem(system_tray), default_(NULL) { - Shell::GetInstance()->display_controller()->AddObserver(this); + Shell::GetInstance()->window_tree_host_manager()->AddObserver(this); UpdateDisplayInfo(NULL); } TrayDisplay::~TrayDisplay() { - Shell::GetInstance()->display_controller()->RemoveObserver(this); + Shell::GetInstance()->window_tree_host_manager()->RemoveObserver(this); } void TrayDisplay::UpdateDisplayInfo(TrayDisplay::DisplayInfoMap* old_info) { |