Index: content/browser/renderer_host/input/synthetic_pointer_action_unittest.cc |
diff --git a/content/browser/renderer_host/input/synthetic_pointer_action_unittest.cc b/content/browser/renderer_host/input/synthetic_pointer_action_unittest.cc |
index 23e85754f2f03eae06127e6820b6ab0c1be7bae9..35d4482bc128d5ad26b2bad41467249612ef8426 100644 |
--- a/content/browser/renderer_host/input/synthetic_pointer_action_unittest.cc |
+++ b/content/browser/renderer_host/input/synthetic_pointer_action_unittest.cc |
@@ -177,7 +177,7 @@ class MockSyntheticPointerMouseActionTarget |
DCHECK(WebInputEvent::isMouseEventType(event.type())); |
const WebMouseEvent& mouse_event = static_cast<const WebMouseEvent&>(event); |
type_ = mouse_event.type(); |
- position_ = gfx::PointF(mouse_event.x, mouse_event.y); |
+ position_ = gfx::PointF(mouse_event.positionInWidget()); |
click_count_ = mouse_event.clickCount; |
modifiers_ = mouse_event.modifiers(); |
button_ = mouse_event.button; |