| Index: ui/events/event.h
|
| diff --git a/ui/events/event.h b/ui/events/event.h
|
| index 20e02626b872b087633488bf4e2e0d8c17e35cd5..816e6b636c9015290dad0e9e7a10fadf84cc0e27 100644
|
| --- a/ui/events/event.h
|
| +++ b/ui/events/event.h
|
| @@ -368,10 +368,7 @@ class EVENTS_EXPORT LocatedEvent : public Event {
|
| template <class T> void ConvertLocationToTarget(T* source, T* target) {
|
| if (!target || target == source)
|
| return;
|
| - gfx::Point offset = gfx::ToFlooredPoint(location_);
|
| - T::ConvertPointToTarget(source, target, &offset);
|
| - gfx::Vector2d diff = gfx::ToFlooredPoint(location_) - offset;
|
| - location_= location_ - diff;
|
| + T::ConvertPointToTargetF(source, target, &location_);
|
| }
|
|
|
| protected:
|
|
|