| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index 916523fffbc02f60db2d6863948169a5eb8b607f..365bb0381a686066e5ba2fe36b0bb26730278847 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -561,7 +561,7 @@ void LocalFrame::setPageAndTextZoomFactors(float pageZoomFactor, float textZoomF
|
| // Update the scroll position when doing a full page zoom, so the content stays in relatively the same position.
|
| LayoutPoint scrollPosition = view->scrollPosition();
|
| float percentDifference = (pageZoomFactor / m_pageZoomFactor);
|
| - view->setScrollPosition(IntPoint(scrollPosition.x() * percentDifference, scrollPosition.y() * percentDifference));
|
| + view->setScrollPosition(DoublePoint(scrollPosition.x() * percentDifference, scrollPosition.y() * percentDifference));
|
| }
|
| }
|
|
|
|
|