Index: ash/drag_drop/drag_drop_controller_unittest.cc |
=================================================================== |
--- ash/drag_drop/drag_drop_controller_unittest.cc (revision 148788) |
+++ ash/drag_drop/drag_drop_controller_unittest.cc (working copy) |
@@ -608,7 +608,8 @@ |
gfx::Point mouse_move_location = drag_view->bounds().CenterPoint(); |
aura::MouseEvent mouse_move(ui::ET_MOUSE_MOVED, |
mouse_move_location, mouse_move_location, 0); |
- Shell::GetPrimaryRootWindow()->DispatchMouseEvent(&mouse_move); |
+ Shell::GetPrimaryRootWindow()->AsRootWindowHostDelegate()->OnHostMouseEvent( |
+ &mouse_move); |
} |
generator.ReleaseLeftButton(); |