| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index 22e07c9be0174e5bf295af218e85d8862a500f40..fae19d435e8f8e24232c3c16219d196c5fd06dcb 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -534,7 +534,9 @@ 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(DoublePoint(scrollPosition.x() * percentDifference, scrollPosition.y() * percentDifference));
|
| + view->setScrollPosition(
|
| + DoublePoint(scrollPosition.x() * percentDifference, scrollPosition.y() * percentDifference),
|
| + ProgrammaticScroll);
|
| }
|
| }
|
|
|
|
|