| 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 f67984792b69f87109dc0aca44d266642388dc8b..f22a0ac7e0361e919e165f7e7190c19fc80e2fd6 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);
|
|
|