Index: ash/wm/overview/window_selector_unittest.cc |
diff --git a/ash/wm/overview/window_selector_unittest.cc b/ash/wm/overview/window_selector_unittest.cc |
index 39dab4f97b04be5f64fb366dd6e9d5417aaa9b11..4be3a098bb8b4ca49a2c5c112580650f761bf76b 100644 |
--- a/ash/wm/overview/window_selector_unittest.cc |
+++ b/ash/wm/overview/window_selector_unittest.cc |
@@ -1162,21 +1162,6 @@ TEST_F(WindowSelectorTest, FullscreenWindow) { |
EXPECT_TRUE(wm::GetWindowState(window1.get())->IsFullscreen()); |
} |
-// Tests that the shelf dimming state is removed while in overview and restored |
-// on exiting overview. |
-TEST_F(WindowSelectorTest, OverviewUndimsShelf) { |
- gfx::Rect bounds(0, 0, 400, 400); |
- std::unique_ptr<aura::Window> window1(CreateWindow(bounds)); |
- wm::WindowState* window_state = wm::GetWindowState(window1.get()); |
- window_state->Maximize(); |
- ShelfWidget* shelf = GetPrimaryShelf()->shelf_widget(); |
- EXPECT_TRUE(shelf->GetDimsShelf()); |
- ToggleOverview(); |
- EXPECT_FALSE(shelf->GetDimsShelf()); |
- ToggleOverview(); |
- EXPECT_TRUE(shelf->GetDimsShelf()); |
-} |
- |
// Tests that entering overview when a fullscreen window is active in maximized |
// mode correctly applies the transformations to the window and correctly |
// updates the window bounds on exiting overview mode: http://crbug.com/401664. |