Index: third_party/WebKit/Source/core/input/PointerEventManager.cpp |
diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.cpp b/third_party/WebKit/Source/core/input/PointerEventManager.cpp |
index 5412a7958e67e1d03fd707b721ea9e5f6f155612..21ce995d0f67a222d0160e4a6e62a6fa861c49a5 100644 |
--- a/third_party/WebKit/Source/core/input/PointerEventManager.cpp |
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.cpp |
@@ -371,8 +371,7 @@ void PointerEventManager::dispatchTouchPointerEvents( |
FloatPoint pagePoint = touchInfo.targetFrame->view()->rootFrameToContents( |
touchInfo.point.pos()); |
float scaleFactor = 1.0f / touchInfo.targetFrame->pageZoomFactor(); |
- FloatPoint scrollPosition = |
- touchInfo.targetFrame->view()->scrollPosition(); |
+ FloatPoint scrollPosition(touchInfo.targetFrame->view()->scrollOffset()); |
FloatPoint framePoint = pagePoint.scaledBy(scaleFactor); |
framePoint.moveBy(scrollPosition.scaledBy(-scaleFactor)); |
PointerEvent* pointerEvent = m_pointerEventFactory.create( |