Index: content/browser/renderer_host/input/synthetic_mouse_driver.cc |
diff --git a/content/browser/renderer_host/input/synthetic_mouse_driver.cc b/content/browser/renderer_host/input/synthetic_mouse_driver.cc |
index ed388a72a8a6d0a14dc9f7ce85497232f5437542..f5b0d51d4b024d81106eb05fa264848b135059eb 100644 |
--- a/content/browser/renderer_host/input/synthetic_mouse_driver.cc |
+++ b/content/browser/renderer_host/input/synthetic_mouse_driver.cc |
@@ -52,8 +52,9 @@ void SyntheticMouseDriver::Release( |
SyntheticPointerActionParams::Button button) { |
DCHECK_EQ(index, 0); |
mouse_event_ = SyntheticWebMouseEventBuilder::Build( |
- blink::WebInputEvent::MouseUp, mouse_event_.x, mouse_event_.y, |
- last_modifiers_, mouse_event_.pointerType); |
+ blink::WebInputEvent::MouseUp, mouse_event_.positionInWidget().x, |
+ mouse_event_.positionInWidget().y, last_modifiers_, |
+ mouse_event_.pointerType); |
mouse_event_.clickCount = 1; |
mouse_event_.button = |
SyntheticPointerActionParams::GetWebMouseEventButton(button); |