Index: ui/events/ozone/evdev/event_factory_evdev.cc |
diff --git a/ui/events/ozone/evdev/event_factory_evdev.cc b/ui/events/ozone/evdev/event_factory_evdev.cc |
index f1fa0e3a5d5381d35faba443a58d4484ec2ddba3..a6677dfe40913c088e8fadb67b387073cdd733c5 100644 |
--- a/ui/events/ozone/evdev/event_factory_evdev.cc |
+++ b/ui/events/ozone/evdev/event_factory_evdev.cc |
@@ -299,8 +299,8 @@ void EventFactoryEvdev::WarpCursorTo(gfx::AcceleratedWidget widget, |
if (cursor_) { |
cursor_->MoveCursorTo(widget, location); |
PostUiEvent(make_scoped_ptr(new MouseEvent(ET_MOUSE_MOVED, |
- cursor_->location(), |
- cursor_->location(), |
+ cursor_->GetLocation(), |
+ cursor_->GetLocation(), |
modifiers_.GetModifierFlags(), |
/* changed_button_flags */ 0))); |
} |