summaryrefslogtreecommitdiffstats
path: root/ash/wm/shelf_layout_manager_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/shelf_layout_manager_unittest.cc')
-rw-r--r--ash/wm/shelf_layout_manager_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/wm/shelf_layout_manager_unittest.cc b/ash/wm/shelf_layout_manager_unittest.cc
index 011951d..65606da 100644
--- a/ash/wm/shelf_layout_manager_unittest.cc
+++ b/ash/wm/shelf_layout_manager_unittest.cc
@@ -509,7 +509,7 @@ TEST_F(ShelfLayoutManagerTest, SetAlignment) {
launcher_bounds.width(),
shelf->launcher_widget()->GetContentsView()->GetPreferredSize().width());
EXPECT_EQ(SHELF_ALIGNMENT_LEFT,
- Shell::GetInstance()->tray()->shelf_alignment());
+ Shell::GetInstance()->system_tray()->shelf_alignment());
gfx::Rect status_bounds(shelf->status()->GetWindowScreenBounds());
EXPECT_GE(status_bounds.width(),
shelf->status()->GetContentsView()->GetPreferredSize().width());
@@ -532,7 +532,7 @@ TEST_F(ShelfLayoutManagerTest, SetAlignment) {
launcher_bounds.width(),
shelf->launcher_widget()->GetContentsView()->GetPreferredSize().width());
EXPECT_EQ(SHELF_ALIGNMENT_RIGHT,
- Shell::GetInstance()->tray()->shelf_alignment());
+ Shell::GetInstance()->system_tray()->shelf_alignment());
status_bounds = gfx::Rect(shelf->status()->GetWindowScreenBounds());
EXPECT_GE(status_bounds.width(),
shelf->status()->GetContentsView()->GetPreferredSize().width());