Index: components/mus/ws/event_matcher_unittest.cc |
diff --git a/components/mus/ws/event_matcher_unittest.cc b/components/mus/ws/event_matcher_unittest.cc |
index e4e3b1765a1523c5bf61752b6b36292539d57135..97bd5bbe5c36919e7a7d7ca1ffe9c3209c4ad697 100644 |
--- a/components/mus/ws/event_matcher_unittest.cc |
+++ b/components/mus/ws/event_matcher_unittest.cc |
@@ -27,11 +27,11 @@ TEST_F(EventTesterTest, MatchesEventByType) { |
EventMatcher pointer_down_matcher(*matcher); |
ui::PointerEvent pointer_down( |
- ui::TouchEvent(ui::ET_TOUCH_PRESSED, gfx::Point(), 1, base::TimeDelta())); |
+ ui::TouchEvent(ui::ET_TOUCH_PRESSED, gfx::Point(), 1, base::TimeTicks())); |
EXPECT_TRUE(pointer_down_matcher.MatchesEvent(pointer_down)); |
ui::PointerEvent pointer_up(ui::TouchEvent( |
- ui::ET_TOUCH_RELEASED, gfx::Point(), 1, base::TimeDelta())); |
+ ui::ET_TOUCH_RELEASED, gfx::Point(), 1, base::TimeTicks())); |
EXPECT_FALSE(pointer_down_matcher.MatchesEvent(pointer_up)); |
} |