| Index: third_party/WebKit/Source/core/events/MouseEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/MouseEvent.cpp b/third_party/WebKit/Source/core/events/MouseEvent.cpp
|
| index 46290ee336f7b8e5ff54e53774ac6e1938ba57e1..7e8c7ecddd050c2c83e12f4da0d602d550c75057 100644
|
| --- a/third_party/WebKit/Source/core/events/MouseEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/MouseEvent.cpp
|
| @@ -168,7 +168,7 @@ MouseEvent::MouseEvent(const AtomicString& eventType,
|
| ? abstractView->getInputDeviceCapabilities()->firesTouchEvents(
|
| event.fromTouch())
|
| : nullptr),
|
| - m_screenLocation(event.globalX, event.globalY),
|
| + m_screenLocation(event.positionInScreen().x, event.positionInScreen().y),
|
| m_movementDelta(flooredIntPoint(event.movementInRootFrame())),
|
| m_positionType(PositionType::Position),
|
| m_button(static_cast<short>(event.button)),
|
|
|