Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Unified Diff: components/mus/ws/event_matcher_unittest.cc

Issue 1975533002: Change ui::Event::time_stamp from TimeDelta to TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/ws/event_dispatcher_unittest.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « components/mus/ws/event_dispatcher_unittest.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698