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 b60f144c61c450ac40741aaa150e9cd42f5bedaa..29082023edad4341950049dd48101abdd673efc7 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 {} |
}; |
@@ -334,12 +334,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); |
} |