Index: third_party/WebKit/Source/core/dom/Node.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp |
index 9bc67deca1d0043cec06f3f1919348d9b26a045f..3714a9dcd9f366fd6bc453a62d54e327c8da8147 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -2135,8 +2135,8 @@ void Node::createAndDispatchPointerEvent(const AtomicString& mouseEventName, |
pointerEventInit.setComposed(true); |
pointerEventInit.setDetail(0); |
- 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()) { |