| Index: ash/root_window_controller_unittest.cc
|
| diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc
|
| index 4d1c8635fcc8827bdfa227403c8eacbde2d9458d..d2f1d0b8fb894c27c5add28f81b328c69402bdb0 100644
|
| --- a/ash/root_window_controller_unittest.cc
|
| +++ b/ash/root_window_controller_unittest.cc
|
| @@ -664,13 +664,6 @@ typedef test::NoSessionAshTestBase NoSessionRootWindowControllerTest;
|
|
|
| // Make sure that an event handler exists for entire display area.
|
| TEST_F(NoSessionRootWindowControllerTest, Event) {
|
| - // Hide the shelf since it might otherwise get an event target.
|
| - RootWindowController* controller = Shell::GetPrimaryRootWindowController();
|
| - ShelfLayoutManager* shelf_layout_manager =
|
| - controller->GetShelfLayoutManager();
|
| - shelf_layout_manager->SetAutoHideBehavior(
|
| - ash::SHELF_AUTO_HIDE_ALWAYS_HIDDEN);
|
| -
|
| aura::Window* root = Shell::GetPrimaryRootWindow();
|
| const gfx::Size size = root->bounds().size();
|
| aura::Window* event_target = root->GetEventHandlerForPoint(gfx::Point(0, 0));
|
|
|