| 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 c7871065c1d6209a30509fedf4a8b7e700d22ac4..0d88fc6d8148197b56ceeb685b710c4e2bfd354d 100644
|
| --- a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| +++ b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| @@ -133,7 +133,7 @@ PointerEvent* PointerEventFactory::create(
|
| PointerEvent* PointerEventFactory::create(const AtomicString& type,
|
| const PlatformTouchPoint& touchPoint, PlatformEvent::Modifiers modifiers,
|
| const FloatSize& pointRadius,
|
| - const FloatPoint& pagePoint)
|
| + const FloatPoint& clientPoint)
|
| {
|
| const PlatformTouchPoint::TouchState pointState = touchPoint.state();
|
|
|
| @@ -157,8 +157,8 @@ PointerEvent* PointerEventFactory::create(const AtomicString& type,
|
| pointerEventInit.setTiltY(touchPoint.pointerProperties().tiltY);
|
| pointerEventInit.setScreenX(touchPoint.screenPos().x());
|
| pointerEventInit.setScreenY(touchPoint.screenPos().y());
|
| - pointerEventInit.setClientX(pagePoint.x());
|
| - pointerEventInit.setClientY(pagePoint.y());
|
| + pointerEventInit.setClientX(clientPoint.x());
|
| + pointerEventInit.setClientY(clientPoint.y());
|
| pointerEventInit.setButton(pointerPressedOrReleased ? LeftButton: NoButton);
|
| pointerEventInit.setPressure(getPointerEventPressure(
|
| touchPoint.force(), pointerEventInit.buttons()));
|
|
|