| Index: ui/events/event.cc
|
| diff --git a/ui/events/event.cc b/ui/events/event.cc
|
| index 2dcec9a36405178bfa549d20953692189933e22c..9fffe28baa1036b24402434ac2b60494e408d994 100644
|
| --- a/ui/events/event.cc
|
| +++ b/ui/events/event.cc
|
| @@ -444,17 +444,10 @@
|
| void LocatedEvent::UpdateForRootTransform(
|
| const gfx::Transform& reversed_root_transform) {
|
| // Transform has to be done at root level.
|
| - bool locations_equal = location_ == root_location_;
|
| gfx::Point3F p(location_);
|
| reversed_root_transform.TransformPoint(&p);
|
| location_ = p.AsPointF();
|
| - if (locations_equal) {
|
| - root_location_ = location_;
|
| - } else {
|
| - p = gfx::Point3F(root_location_);
|
| - reversed_root_transform.TransformPoint(&p);
|
| - root_location_ = p.AsPointF();
|
| - }
|
| + root_location_ = location_;
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|