Index: ash/wm/ash_native_cursor_manager_unittest.cc |
diff --git a/ash/wm/ash_native_cursor_manager_unittest.cc b/ash/wm/ash_native_cursor_manager_unittest.cc |
index 76da49d47efbfed62225c225604697f129d78e7d..6ca1bf2b3ecbe0df404625b2c9ddd7cf2507084f 100644 |
--- a/ash/wm/ash_native_cursor_manager_unittest.cc |
+++ b/ash/wm/ash_native_cursor_manager_unittest.cc |
@@ -195,10 +195,10 @@ TEST_F(AshNativeCursorManagerTest, DisabledQueryMouseLocation) { |
#endif |
aura::WindowEventDispatcher* dispatcher = root_window->GetDispatcher(); |
gfx::Point mouse_location; |
- EXPECT_TRUE(dispatcher->QueryMouseLocationForTest(&mouse_location)); |
+ EXPECT_TRUE(dispatcher->host()->QueryMouseLocation(&mouse_location)); |
EXPECT_EQ("10,10", mouse_location.ToString()); |
Shell::GetInstance()->cursor_manager()->DisableMouseEvents(); |
- EXPECT_FALSE(dispatcher->QueryMouseLocationForTest(&mouse_location)); |
+ EXPECT_FALSE(dispatcher->host()->QueryMouseLocation(&mouse_location)); |
EXPECT_EQ("0,0", mouse_location.ToString()); |
} |