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

Unified Diff: ui/views/view_targeter_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
Index: ui/views/view_targeter_unittest.cc
diff --git a/ui/views/view_targeter_unittest.cc b/ui/views/view_targeter_unittest.cc
index ea579d59f931323516ed7dae281ce3383eb6015f..620cfea3601ebddc959c3732367eb9547a55fd1b 100644
--- a/ui/views/view_targeter_unittest.cc
+++ b/ui/views/view_targeter_unittest.cc
@@ -233,14 +233,14 @@ class GestureEventForTest : public ui::GestureEvent {
: GestureEvent(x,
y,
0,
- base::TimeDelta(),
+ base::TimeTicks(),
ui::GestureEventDetails(type)) {}
GestureEventForTest(ui::GestureEventDetails details)
: GestureEvent(details.bounding_box().CenterPoint().x(),
details.bounding_box().CenterPoint().y(),
0,
- base::TimeDelta(),
+ base::TimeTicks(),
details) {}
};

Powered by Google App Engine
This is Rietveld 408576698