Index: third_party/WebKit/Source/core/events/PointerEventFactory.cpp |
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp |
index d38bd6f030f413255ad225d63203a4869da13a4f..8419bf6ee7d15ad15ddd2eafad3418b3ce280b30 100644 |
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp |
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp |
@@ -146,8 +146,8 @@ void updateMousePointerEventInit(const WebMouseEvent& mouseEvent, |
// and pointerType which is the same among the coalesced events and the |
// dispatched event. |
- pointerEventInit->setScreenX(mouseEvent.globalX); |
- pointerEventInit->setScreenY(mouseEvent.globalY); |
+ pointerEventInit->setScreenX(mouseEvent.screenPosition.x); |
+ pointerEventInit->setScreenY(mouseEvent.screenPosition.y); |
IntPoint locationInFrameZoomed; |
if (view && view->frame() && view->frame()->view()) { |