| Index: ash/system/toast/toast_manager_unittest.cc
|
| diff --git a/ash/system/toast/toast_manager_unittest.cc b/ash/system/toast/toast_manager_unittest.cc
|
| index fc6ec7f6941e209ee3e12b47cd72112ffa0a6f35..b3ba21e37d30357248fb1be4b57f809699c94088 100644
|
| --- a/ash/system/toast/toast_manager_unittest.cc
|
| +++ b/ash/system/toast/toast_manager_unittest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "ash/display/display_manager.h"
|
| #include "ash/screen_util.h"
|
| #include "ash/shelf/shelf.h"
|
| +#include "ash/shelf/shelf_constants.h"
|
| #include "ash/shelf/shelf_layout_manager.h"
|
| #include "ash/shell.h"
|
| #include "ash/system/toast/toast_manager.h"
|
| @@ -187,8 +188,7 @@ TEST_F(ToastManagerTest, PositionWithAutoHiddenBottomShelf) {
|
|
|
| EXPECT_TRUE(toast_bounds.Intersects(shelf->user_work_area_bounds()));
|
| EXPECT_NEAR(root_bounds.CenterPoint().x(), toast_bounds.CenterPoint().x(), 1);
|
| - EXPECT_EQ(root_bounds.bottom() - ShelfLayoutManager::kAutoHideSize - 5,
|
| - toast_bounds.bottom());
|
| + EXPECT_EQ(root_bounds.bottom() - kAutoHideSize - 5, toast_bounds.bottom());
|
| }
|
|
|
| TEST_F(ToastManagerTest, PositionWithHiddenBottomShelf) {
|
|
|