Index: ui/aura/window_event_dispatcher_unittest.cc |
diff --git a/ui/aura/window_event_dispatcher_unittest.cc b/ui/aura/window_event_dispatcher_unittest.cc |
index 5db771a29c821a5af2b69fcc96ea10584f74a83b..4ff16316881703dcdaf054d86c367aa47a82ee26 100644 |
--- a/ui/aura/window_event_dispatcher_unittest.cc |
+++ b/ui/aura/window_event_dispatcher_unittest.cc |
@@ -408,7 +408,7 @@ TEST_F(WindowEventDispatcherTest, TouchEventsOutsideBounds) { |
// Tests that scroll events are dispatched correctly. |
TEST_F(WindowEventDispatcherTest, ScrollEventDispatch) { |
- base::TimeDelta now = ui::EventTimeForNow(); |
+ base::TimeTicks now = ui::EventTimeForNow(); |
ui::test::TestEventHandler handler; |
root_window()->AddPreTargetHandler(&handler); |
@@ -1652,7 +1652,7 @@ TEST_F(WindowEventDispatcherTest, DeleteDispatcherDuringPreDispatch) { |
// Here we can't use EventGenerator since it expects that the dispatcher is |
// not destroyed at the end of the dispatch. |
ui::MouseEvent mouse_move(ui::ET_MOUSE_MOVED, gfx::Point(20, 20), |
- gfx::Point(20, 20), base::TimeDelta(), 0, 0); |
+ gfx::Point(20, 20), base::TimeTicks(), 0, 0); |
ui::EventDispatchDetails details = |
host->dispatcher()->DispatchEvent(w2, &mouse_move); |
EXPECT_TRUE(details.dispatcher_destroyed); |