Index: ui/base/events/event.h |
diff --git a/ui/base/events/event.h b/ui/base/events/event.h |
index a61d5dca207596884df3636f7e39673e568ce014..a040f9574b1ba9cebb02682d82633f383c200a2b 100644 |
--- a/ui/base/events/event.h |
+++ b/ui/base/events/event.h |
@@ -269,9 +269,10 @@ class UI_EXPORT LocatedEvent : public Event { |
} |
const gfx::Point& system_location() const { return system_location_; } |
- // Applies |root_transform| to the event. |
+ // Transform the locations using |inverted_root_transform|. |
// This is applied to both |location_| and |root_location_|. |
- virtual void UpdateForRootTransform(const gfx::Transform& root_transform); |
+ virtual void UpdateForRootTransform( |
+ const gfx::Transform& inverted_root_transform); |
template <class T> void ConvertLocationToTarget(T* source, T* target) { |
if (target && target != source) |