Index: ui/aura/test/event_generator.cc |
diff --git a/ui/aura/test/event_generator.cc b/ui/aura/test/event_generator.cc |
index 82735fc36509bc93155564180fccfb3130ced3ce..2285e425344c098b20d8366f1281db8fdff64ed5 100644 |
--- a/ui/aura/test/event_generator.cc |
+++ b/ui/aura/test/event_generator.cc |
@@ -156,6 +156,7 @@ void EventGenerator::MoveMouseTo(const gfx::Point& point, int count) { |
UpdateCurrentRootWindow(move_point); |
ConvertPointToTarget(current_root_window_, &move_point); |
ui::MouseEvent mouseev(event_type, move_point, move_point, flags_); |
+ mouseev.set_system_location(move_point); |
Dispatch(&mouseev); |
} |
current_location_ = point; |