Index: ash/display/mouse_cursor_event_filter_unittest.cc |
diff --git a/ash/display/mouse_cursor_event_filter_unittest.cc b/ash/display/mouse_cursor_event_filter_unittest.cc |
index 3b4f9ee83a4247bc8f3bfff2a14a643b40ee7aa8..62300a54058c56c4ae5f2aa3b35e14caf54cd59d 100644 |
--- a/ash/display/mouse_cursor_event_filter_unittest.cc |
+++ b/ash/display/mouse_cursor_event_filter_unittest.cc |
@@ -116,7 +116,7 @@ TEST_F(MouseCursorEventFilterTest, WarpMouseDifferentSizeDisplays) { |
GetCurrentDisplayLayout().position); |
aura::Window::Windows root_windows = Shell::GetAllRootWindows(); |
- aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(623, 123)); |
+ aura::Env::GetInstance()->SetLastMouseLocation(gfx::Point(623, 123)); |
// Touch the left edge of the secondary root window. Pointer should NOT warp |
// because 1px left of (0, 500) is outside the primary root window. |
@@ -148,7 +148,7 @@ TEST_F(MouseCursorEventFilterTest, WarpMouseDifferentScaleDisplaysInNative) { |
.position); |
aura::Window::Windows root_windows = Shell::GetAllRootWindows(); |
- aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(900, 123)); |
+ aura::Env::GetInstance()->SetLastMouseLocation(gfx::Point(900, 123)); |
EXPECT_TRUE(event_filter()->WarpMouseCursorIfNecessaryForTest( |
root_windows[0], gfx::Point(499, 123))); |
@@ -173,7 +173,7 @@ TEST_F(MouseCursorEventFilterTest, SetMouseWarpModeFlag) { |
UpdateDisplay("500x500,500x500"); |
aura::Window::Windows root_windows = Shell::GetAllRootWindows(); |
- aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(1, 1)); |
+ aura::Env::GetInstance()->SetLastMouseLocation(gfx::Point(1, 1)); |
event_filter()->set_mouse_warp_mode(MouseCursorEventFilter::WARP_NONE); |
EXPECT_FALSE(WarpMouseCursorIfNecessary(root_windows[0], |