| Index: ash/display/extended_mouse_warp_controller.cc
|
| diff --git a/ash/display/extended_mouse_warp_controller.cc b/ash/display/extended_mouse_warp_controller.cc
|
| index 12bd079c0eaaf0987924cf68b5b4226711313d1c..e6bbab2426180ea35742645be3b50f3ad383f295 100644
|
| --- a/ash/display/extended_mouse_warp_controller.cc
|
| +++ b/ash/display/extended_mouse_warp_controller.cc
|
| @@ -153,8 +153,8 @@ bool ExtendedMouseWarpController::WarpMouseCursor(ui::MouseEvent* event) {
|
| // has access to the logical display layout.
|
| // Native events in Ozone are in the native window coordinate system. We need
|
| // to translate them to get the global position.
|
| - point_in_native.Offset(target->GetHost()->GetBounds().x(),
|
| - target->GetHost()->GetBounds().y());
|
| + point_in_native.Offset(target->GetHost()->GetBoundsInPixels().x(),
|
| + target->GetHost()->GetBoundsInPixels().y());
|
| #endif
|
|
|
| return WarpMouseCursorInNativeCoords(point_in_native, point_in_screen, false);
|
|
|