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

Unified Diff: mash/wm/frame/move_loop_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: Fix gesture recognizer tests Created 4 years, 7 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
Index: mash/wm/frame/move_loop_unittest.cc
diff --git a/mash/wm/frame/move_loop_unittest.cc b/mash/wm/frame/move_loop_unittest.cc
index 387ab8e4d05168ad7d19120bbf77f214b1708f04..1cde5e82ff46e2a27e05a9acefcb721047609eca 100644
--- a/mash/wm/frame/move_loop_unittest.cc
+++ b/mash/wm/frame/move_loop_unittest.cc
@@ -48,14 +48,14 @@ TEST_F(MoveLoopTest, Move) {
gfx::Point pointer_location(51, 52);
ui::PointerEvent pointer_down_event(
ui::ET_POINTER_DOWN, ui::EventPointerType::POINTER_TYPE_TOUCH,
- pointer_location, pointer_location, ui::EF_NONE, 1, base::TimeDelta());
+ pointer_location, pointer_location, ui::EF_NONE, 1, base::TimeTicks());
std::unique_ptr<MoveLoop> move_loop =
MoveLoop::Create(&window, data[i].ht_location, pointer_down_event);
ASSERT_TRUE(move_loop.get()) << i;
pointer_location.Offset(data[i].delta_x, data[i].delta_y);
ui::PointerEvent pointer_move_event(
ui::ET_POINTER_MOVED, ui::EventPointerType::POINTER_TYPE_TOUCH,
- pointer_location, pointer_location, ui::EF_NONE, 1, base::TimeDelta());
+ pointer_location, pointer_location, ui::EF_NONE, 1, base::TimeTicks());
ASSERT_EQ(MoveLoop::MoveResult::CONTINUE,
move_loop->Move(pointer_move_event))
<< i;

Powered by Google App Engine
This is Rietveld 408576698