| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index c2c67c5d0a68af2a1f03461d05f35ea5b2f29b9f..6fd6eb4a0e6cab1f4d25061181b6233b375eab5f 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -520,7 +520,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);
|
| }
|
| }
|
|
|
|
|