diff options
Diffstat (limited to 'chrome/views/event.h')
-rw-r--r-- | chrome/views/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/event.h b/chrome/views/event.h index 074e046..17cbe60 100644 --- a/chrome/views/event.h +++ b/chrome/views/event.h @@ -128,12 +128,12 @@ class LocatedEvent : public Event { LocatedEvent(const LocatedEvent& model, View* from, View* to); // Returns the X location. - int GetX() const { + int x() const { return location_.x(); } // Returns the Y location. - int GetY() const { + int y() const { return location_.y(); } |