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

Unified Diff: ui/message_center/views/notification_view_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: ui/message_center/views/notification_view_unittest.cc
diff --git a/ui/message_center/views/notification_view_unittest.cc b/ui/message_center/views/notification_view_unittest.cc
index 053feeca09c2fd3ceede886353f08880de06ba9c..491900fd0d1f9886861c3daf71ff2838bcee46fc 100644
--- a/ui/message_center/views/notification_view_unittest.cc
+++ b/ui/message_center/views/notification_view_unittest.cc
@@ -38,7 +38,7 @@ namespace {
std::unique_ptr<ui::GestureEvent> GenerateGestureEvent(ui::EventType type) {
ui::GestureEventDetails detail(type);
std::unique_ptr<ui::GestureEvent> event(
- new ui::GestureEvent(0, 0, 0, base::TimeDelta(), detail));
+ new ui::GestureEvent(0, 0, 0, base::TimeTicks(), detail));
return event;
}
@@ -46,7 +46,7 @@ std::unique_ptr<ui::GestureEvent> GenerateGestureVerticalScrollUpdateEvent(
int dx) {
ui::GestureEventDetails detail(ui::ET_GESTURE_SCROLL_UPDATE, dx, 0);
std::unique_ptr<ui::GestureEvent> event(
- new ui::GestureEvent(0, 0, 0, base::TimeDelta(), detail));
+ new ui::GestureEvent(0, 0, 0, base::TimeTicks(), detail));
return event;
}

Powered by Google App Engine
This is Rietveld 408576698