Index: ash/wm/workspace/workspace_event_handler_unittest.cc |
diff --git a/ash/wm/workspace/workspace_event_handler_unittest.cc b/ash/wm/workspace/workspace_event_handler_unittest.cc |
index 7e5584f6c93de4150cfe8bb0caf6bce34f19c0f2..b849b15175093428488d1a2f26b690441f32e488 100644 |
--- a/ash/wm/workspace/workspace_event_handler_unittest.cc |
+++ b/ash/wm/workspace/workspace_event_handler_unittest.cc |
@@ -376,7 +376,7 @@ TEST_F(WorkspaceEventHandlerTest, |
generator.current_location(), |
ui::EF_MIDDLE_MOUSE_BUTTON | ui::EF_IS_DOUBLE_CLICK, |
ui::EF_MIDDLE_MOUSE_BUTTON); |
- aura::WindowEventDispatcher* dispatcher = root->GetDispatcher(); |
+ aura::WindowEventDispatcher* dispatcher = root->GetHost()->dispatcher(); |
ui::EventDispatchDetails details = dispatcher->OnEventFromSource(&press); |
ASSERT_FALSE(details.dispatcher_destroyed); |
ui::MouseEvent release(ui::ET_MOUSE_RELEASED, generator.current_location(), |