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..21a19bf7b4ffc3d466744d657cbb9f085906df1e 100644 |
--- a/ash/display/mouse_cursor_event_filter_unittest.cc |
+++ b/ash/display/mouse_cursor_event_filter_unittest.cc |
@@ -30,7 +30,6 @@ class MouseCursorEventFilterTest : public test::AshTestBase { |
gfx::Point point_in_screen) { |
bool is_warped = event_filter()->WarpMouseCursorIfNecessaryForTest( |
target_root, point_in_screen); |
- event_filter()->reset_was_mouse_warped_for_test(); |
return is_warped; |
} |
@@ -45,7 +44,6 @@ class MouseCursorEventFilterTest : public test::AshTestBase { |
event_filter()->OnMouseEvent(&pressed); |
bool is_warped = event_filter()->WarpMouseCursorIfNecessaryForTest( |
target_root, point_in_screen); |
- event_filter()->reset_was_mouse_warped_for_test(); |
ui::MouseEvent released(ui::ET_MOUSE_RELEASED, location, |
location, 0, 0); |
@@ -155,8 +153,6 @@ TEST_F(MouseCursorEventFilterTest, WarpMouseDifferentScaleDisplaysInNative) { |
EXPECT_EQ("500,123", |
aura::Env::GetInstance()->last_mouse_location().ToString()); |
- event_filter()->reset_was_mouse_warped_for_test(); |
- |
// Touch the edge of 2nd display again and make sure it warps to |
// 1st dislay. |
EXPECT_TRUE(event_filter()->WarpMouseCursorIfNecessaryForTest( |