| Index: ash/system/chromeos/tray_display_unittest.cc
|
| diff --git a/ash/system/chromeos/tray_display_unittest.cc b/ash/system/chromeos/tray_display_unittest.cc
|
| index 60cbb0b578ff71983068fc591de3e8e2dd0dcd2c..e6e9acdffa707d1a8e4d9c3b7866382d43f858f5 100644
|
| --- a/ash/system/chromeos/tray_display_unittest.cc
|
| +++ b/ash/system/chromeos/tray_display_unittest.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "ash/common/system/chromeos/devicetype_utils.h"
|
| #include "ash/display/display_manager.h"
|
| -#include "ash/root_window_controller.h"
|
| #include "ash/screen_util.h"
|
| #include "ash/shell.h"
|
| #include "ash/system/tray/system_tray.h"
|
| @@ -126,8 +125,7 @@ TrayDisplay* TrayDisplayTest::GetTrayDisplay() {
|
| }
|
|
|
| void TrayDisplayTest::CheckUpdate() {
|
| - SystemTray* current =
|
| - Shell::GetPrimaryRootWindowController()->GetSystemTray();
|
| + SystemTray* current = GetPrimarySystemTray();
|
| if (tray_ != current) {
|
| tray_ = current;
|
| tray_display_ = new TrayDisplay(tray_);
|
|
|