| Index: ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc
|
| diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc b/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc
|
| index f862724a15efb144b34a54198036223b79a2c113..a2406d43467ffab186eca58caf475ae55d5292ac 100644
|
| --- a/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc
|
| +++ b/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc
|
| @@ -55,7 +55,8 @@ class MockCursorEvdev : public CursorDelegateEvdev {
|
| cursor_location_ = gfx::PointF(delta.x(), delta.y());
|
| }
|
| bool IsCursorVisible() override { return 1; }
|
| - gfx::PointF location() override { return cursor_location_; }
|
| + gfx::PointF GetLocation() override { return cursor_location_; }
|
| + gfx::PointF GetRootLocation() override { return cursor_location_; }
|
|
|
| private:
|
| // The location of the mock cursor.
|
| @@ -442,7 +443,7 @@ TEST_F(EventConverterEvdevImplTest, MouseMove) {
|
|
|
| event = dispatched_mouse_event(0);
|
| EXPECT_EQ(ui::ET_MOUSE_MOVED, event->type());
|
| - EXPECT_EQ(cursor()->location(), gfx::PointF(4, 2));
|
| + EXPECT_EQ(cursor()->GetLocation(), gfx::PointF(4, 2));
|
| }
|
|
|
| TEST_F(EventConverterEvdevImplTest, UnmappedKeyPress) {
|
|
|