Chromium Code Reviews| 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 e6d7556d57314360c38ac1fb8988f72d1e2a3315..b42ab0dff40f21c2c0a156d682157d387f3931ed 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" |
|
tdanderson
2016/06/10 22:54:43
file moved to ash/common
yiyix
2016/06/13 18:43:55
Done.
|
| #include "ash/shelf/shelf_layout_manager.h" |
| #include "ash/shell.h" |
| #include "ash/system/toast/toast_manager.h" |
| @@ -196,7 +197,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, |
| + EXPECT_EQ(root_bounds.bottom() - kShelfAutoHideSize - 5, |
| toast_bounds.bottom()); |
| } |