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

Unified Diff: ui/message_center/views/message_center_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
« no previous file with comments | « ui/events/x/events_x_utils.cc ('k') | ui/message_center/views/notification_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_center_view_unittest.cc
diff --git a/ui/message_center/views/message_center_view_unittest.cc b/ui/message_center/views/message_center_view_unittest.cc
index 7558b1b542c7040266dadfd7c336090ad555ac24..4a7066731930b1a8255a587001fa66c34e47de12 100644
--- a/ui/message_center/views/message_center_view_unittest.cc
+++ b/ui/message_center/views/message_center_view_unittest.cc
@@ -39,7 +39,7 @@ enum CallType {
class DummyEvent : public ui::Event {
public:
- DummyEvent() : Event(ui::ET_UNKNOWN, base::TimeDelta(), 0) {}
+ DummyEvent() : Event(ui::ET_UNKNOWN, base::TimeTicks(), 0) {}
~DummyEvent() override {}
};
@@ -357,12 +357,10 @@ void MessageCenterViewTest::RegisterCall(CallType type) {
}
void MessageCenterViewTest::FireOnMouseExitedEvent() {
- ui::MouseEvent dummy_event(ui::ET_MOUSE_EXITED /* type */,
- gfx::Point(0,0) /* location */,
- gfx::Point(0,0) /* root location */,
- base::TimeDelta() /* time_stamp */,
- 0 /* flags */,
- 0 /*changed_button_flags */);
+ ui::MouseEvent dummy_event(
+ ui::ET_MOUSE_EXITED /* type */, gfx::Point(0, 0) /* location */,
+ gfx::Point(0, 0) /* root location */, base::TimeTicks() /* time_stamp */,
+ 0 /* flags */, 0 /*changed_button_flags */);
message_center_view_->OnMouseExited(dummy_event);
}
« no previous file with comments | « ui/events/x/events_x_utils.cc ('k') | ui/message_center/views/notification_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698