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

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: 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/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 9fd0a547ad14ba2f5ca97b516e8708e2553b4a66..fd236177566a897209f85a129827b8e6f3f07db8 100644
--- a/ui/message_center/views/notification_view_unittest.cc
+++ b/ui/message_center/views/notification_view_unittest.cc
@@ -39,7 +39,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;
}
@@ -47,7 +47,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;
}
« no previous file with comments | « ui/message_center/views/message_center_view_unittest.cc ('k') | ui/platform_window/android/platform_window_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698