| 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 9e2a9df79cc55dd1925c4d8d644386ca7222bf69..05b0631055ee9e73785a7ba29348e6b88f56a0ba 100644
|
| --- a/ash/display/extended_mouse_warp_controller.cc
|
| +++ b/ash/display/extended_mouse_warp_controller.cc
|
| @@ -152,8 +152,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()->GetBoundsInPixel().x(),
|
| + target->GetHost()->GetBoundsInPixel().y());
|
| #endif
|
|
|
| return WarpMouseCursorInNativeCoords(point_in_native, point_in_screen, false);
|
|
|