| Index: ash/magnifier/magnification_controller.cc
|
| diff --git a/ash/magnifier/magnification_controller.cc b/ash/magnifier/magnification_controller.cc
|
| index 55785c74e379175f49156a5f3f6766ae8cb3cdfa..ec0a7bcdfc91faf3b747db0d076c0def448cb651 100644
|
| --- a/ash/magnifier/magnification_controller.cc
|
| +++ b/ash/magnifier/magnification_controller.cc
|
| @@ -44,9 +44,9 @@ const float kScrollScaleChangeFactor = 0.05f;
|
| const int kPanningMergin = 100;
|
|
|
| void MoveCursorTo(aura::RootWindow* root_window,
|
| - const gfx::Point root_location) {
|
| + const gfx::Point& root_location) {
|
| gfx::Point3F host_location_3f(root_location);
|
| - root_window->layer()->transform().TransformPoint(host_location_3f);
|
| + root_window->GetRootTransform().TransformPoint(host_location_3f);
|
| root_window->MoveCursorToHostLocation(
|
| gfx::ToCeiledPoint(host_location_3f.AsPointF()));
|
| }
|
|
|