| Index: third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/TreeScope.cpp b/third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| index e31c183df8f75e7597dc434140835994dd0ce6a0..d058a499ad873914f2fdf335fc7f84236f50983d 100644
|
| --- a/third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| @@ -220,7 +220,7 @@ static bool pointWithScrollAndZoomIfPossible(const Document& document,
|
|
|
| FloatPoint pointInDocument(point);
|
| pointInDocument.scale(frame->pageZoomFactor(), frame->pageZoomFactor());
|
| - pointInDocument.moveBy(frameView->scrollPosition());
|
| + pointInDocument.move(frameView->scrollOffset());
|
| IntPoint roundedPointInDocument = roundedIntPoint(pointInDocument);
|
|
|
| if (!frameView->visibleContentRect().contains(roundedPointInDocument))
|
|
|