Index: ui/aura/window_event_dispatcher_unittest.cc |
diff --git a/ui/aura/window_event_dispatcher_unittest.cc b/ui/aura/window_event_dispatcher_unittest.cc |
index 291e430ea6d8756bd346ca76e6a5f72f394f0213..63256c3ac42a9798f6421724793f1428d207dd52 100644 |
--- a/ui/aura/window_event_dispatcher_unittest.cc |
+++ b/ui/aura/window_event_dispatcher_unittest.cc |
@@ -785,17 +785,13 @@ TEST_F(WindowEventDispatcherTest, TouchMovesHeld) { |
EXPECT_TRUE(recorder.events().empty()); |
} |
-// Verifies that a direct call to ProcessedTouchEvent() with a |
-// TOUCH_PRESSED event does not cause a crash. |
+// Verifies that a direct call to ProcessedTouchEvent() does not cause a crash. |
TEST_F(WindowEventDispatcherTest, CallToProcessedTouchEvent) { |
test::TestWindowDelegate delegate; |
scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( |
&delegate, 1, gfx::Rect(50, 50, 100, 100), root_window())); |
- ui::TouchEvent touch( |
- ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 1, ui::EventTimeForNow()); |
- host()->dispatcher()->ProcessedTouchEvent( |
- &touch, window.get(), ui::ER_UNHANDLED); |
+ host()->dispatcher()->ProcessedTouchEvent(window.get(), ui::ER_UNHANDLED); |
} |
// This event handler requests the dispatcher to start holding pointer-move |