| Index: ui/aura/window_tree_host.cc
|
| diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc
|
| index ff599106f08b90d61fbd77240503ce3d37790682..f5d7ea57ac87050880fa4a032896ac8eb6e2e099 100644
|
| --- a/ui/aura/window_tree_host.cc
|
| +++ b/ui/aura/window_tree_host.cc
|
| @@ -133,13 +133,13 @@ void WindowTreeHost::ConvertPointFromNativeScreen(gfx::Point* point) const {
|
| }
|
|
|
| void WindowTreeHost::ConvertPointToHost(gfx::Point* point) const {
|
| - gfx::Point3F point_3f(*point);
|
| + auto point_3f = gfx::Point3F(gfx::PointF(*point));
|
| GetRootTransform().TransformPoint(&point_3f);
|
| *point = gfx::ToFlooredPoint(point_3f.AsPointF());
|
| }
|
|
|
| void WindowTreeHost::ConvertPointFromHost(gfx::Point* point) const {
|
| - gfx::Point3F point_3f(*point);
|
| + auto point_3f = gfx::Point3F(gfx::PointF(*point));
|
| GetInverseRootTransform().TransformPoint(&point_3f);
|
| *point = gfx::ToFlooredPoint(point_3f.AsPointF());
|
| }
|
|
|