| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index 34698bdd1486c398a563d46c2803a8c97185bd94..c40f613f211c297dbed85ef36e8c468914b3f1b6 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -551,7 +551,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));
|
| }
|
| }
|
|
|
|
|