Index: ui/aura/window_unittest.cc |
=================================================================== |
--- ui/aura/window_unittest.cc (revision 124450) |
+++ ui/aura/window_unittest.cc (working copy) |
@@ -518,8 +518,7 @@ |
generator.PressLeftButton(); |
EXPECT_EQ(1, delegate.mouse_event_count()); |
- TouchEvent touchev2(ui::ET_TOUCH_PRESSED, gfx::Point(50, 50), 1); |
- root_window()->DispatchTouchEvent(&touchev2); |
+ root_window()->DispatchTouchEvent(&touchev); |
EXPECT_EQ(0, delegate.touch_event_count()); |
// Removing the capture window from parent should reset the capture window |