| Index: chrome/browser/android/vr_shell/android_ui_gesture_target.cc
|
| diff --git a/chrome/browser/android/vr_shell/android_ui_gesture_target.cc b/chrome/browser/android/vr_shell/android_ui_gesture_target.cc
|
| index 9bccc027dc0db993bf2b76d03f3460e4c7856fb8..1929d29c6cbf646dc6f66c063d559f83de30c22d 100644
|
| --- a/chrome/browser/android/vr_shell/android_ui_gesture_target.cc
|
| +++ b/chrome/browser/android/vr_shell/android_ui_gesture_target.cc
|
| @@ -60,15 +60,15 @@ void AndroidUiGestureTarget::DispatchWebInputEvent(
|
| // Flings are automatically generated for android UI. Ignore this input.
|
| break;
|
| case blink::WebMouseEvent::MouseEnter:
|
| - SetPointer(env, mouse->x, mouse->y);
|
| + SetPointer(env, mouse->positionInWidget().x, mouse->positionInWidget().y);
|
| Inject(env, Action::HoverEnter, gesture->timeStampSeconds());
|
| break;
|
| case blink::WebMouseEvent::MouseMove:
|
| - SetPointer(env, mouse->x, mouse->y);
|
| + SetPointer(env, mouse->positionInWidget().x, mouse->positionInWidget().y);
|
| Inject(env, Action::HoverMove, gesture->timeStampSeconds());
|
| break;
|
| case blink::WebMouseEvent::MouseLeave:
|
| - SetPointer(env, mouse->x, mouse->y);
|
| + SetPointer(env, mouse->positionInWidget().x, mouse->positionInWidget().y);
|
| Inject(env, Action::HoverExit, gesture->timeStampSeconds());
|
| break;
|
| default:
|
|
|