Index: ash/wm/shelf_layout_manager_unittest.cc |
diff --git a/ash/wm/shelf_layout_manager_unittest.cc b/ash/wm/shelf_layout_manager_unittest.cc |
index aa2f44a8137615ca5ccfa9530d1d49cc3305114a..54e1075201b54a7896cd34506ba4c449b90a9548 100644 |
--- a/ash/wm/shelf_layout_manager_unittest.cc |
+++ b/ash/wm/shelf_layout_manager_unittest.cc |
@@ -441,13 +441,9 @@ TEST_F(ShelfLayoutManagerTest, SetAutoHideBehavior) { |
shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); |
EXPECT_EQ(ShelfLayoutManager::AUTO_HIDE, shelf->visibility_state()); |
- EXPECT_EQ(display_bounds.bottom() - ShelfLayoutManager::kAutoHideSize, |
- shelf->GetMaximizedWindowBounds(window).bottom()); |
shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_NEVER); |
EXPECT_EQ(ShelfLayoutManager::VISIBLE, shelf->visibility_state()); |
- EXPECT_GT(display_bounds.bottom() - ShelfLayoutManager::kAutoHideSize, |
- shelf->GetMaximizedWindowBounds(window).bottom()); |
widget->Maximize(); |
EXPECT_EQ(ShelfLayoutManager::VISIBLE, shelf->visibility_state()); |