| Index: ash/drag_drop/drag_drop_controller_unittest.cc
|
| diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc
|
| index 85821a769b16977cff1d4c8e9390794bcb55acc0..4a3e9a8681ce15a69ff658c872580effe20c54e4 100644
|
| --- a/ash/drag_drop/drag_drop_controller_unittest.cc
|
| +++ b/ash/drag_drop/drag_drop_controller_unittest.cc
|
| @@ -283,7 +283,7 @@ void DispatchGesture(ui::EventType gesture_type, gfx::Point location) {
|
| ui::EventTimeForNow(),
|
| ui::GestureEventDetails(gesture_type, 0, 0),
|
| 1);
|
| - Shell::GetPrimaryRootWindow()->GetDispatcher()->DispatchGestureEvent(
|
| + Shell::GetPrimaryRootWindow()->GetHost()->dispatcher()->DispatchGestureEvent(
|
| &gesture_event);
|
| }
|
|
|
| @@ -738,7 +738,7 @@ TEST_F(DragDropControllerTest, SyntheticEventsDuringDragDrop) {
|
| ui::MouseEvent mouse_move(ui::ET_MOUSE_MOVED, mouse_move_location,
|
| mouse_move_location, 0, 0);
|
| ui::EventDispatchDetails details = Shell::GetPrimaryRootWindow()->
|
| - GetDispatcher()->OnEventFromSource(&mouse_move);
|
| + GetHost()->dispatcher()->OnEventFromSource(&mouse_move);
|
| ASSERT_FALSE(details.dispatcher_destroyed);
|
| }
|
|
|
|
|