Index: ui/events/ozone/evdev/event_converter_evdev_impl.cc |
diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl.cc b/ui/events/ozone/evdev/event_converter_evdev_impl.cc |
index dc8e54b53d28affb0a8d9cf7231ab5fd409353c9..870a564115b43b4bf597b75bc111e4e3e486bead 100644 |
--- a/ui/events/ozone/evdev/event_converter_evdev_impl.cc |
+++ b/ui/events/ozone/evdev/event_converter_evdev_impl.cc |
@@ -111,8 +111,8 @@ void EventConverterEvdevImpl::DispatchMouseButton(const input_event& input) { |
modifiers_->UpdateModifier(modifier, input.value); |
callback_.Run(make_scoped_ptr( |
new MouseEvent(input.value ? ET_MOUSE_PRESSED : ET_MOUSE_RELEASED, |
- cursor_->location(), |
- cursor_->location(), |
+ cursor_->GetLocation(), |
+ cursor_->GetLocation(), |
modifiers_->GetModifierFlags() | flag, |
flag))); |
} |
@@ -125,8 +125,8 @@ void EventConverterEvdevImpl::FlushEvents() { |
callback_.Run(make_scoped_ptr( |
new MouseEvent(ui::ET_MOUSE_MOVED, |
- cursor_->location(), |
- cursor_->location(), |
+ cursor_->GetLocation(), |
+ cursor_->GetLocation(), |
modifiers_->GetModifierFlags(), |
/* changed_button_flags */ 0))); |
x_offset_ = 0; |