| Index: third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
| index 2a77bd58a18b9b25e43d9ced8db88ee5b3f23096..3e14bd588ec7b3ac923f8257a070a891456d9f14 100644
|
| --- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
| @@ -623,9 +623,9 @@ IntSize VisualViewport::contentsSize() const {
|
| return frame->view()->visibleContentRect(IncludeScrollbars).size();
|
| }
|
|
|
| -void VisualViewport::setScrollOffset(const DoublePoint& offset,
|
| - ScrollType scrollType) {
|
| - if (didSetScaleOrLocation(m_scale, toFloatPoint(offset)) &&
|
| +void VisualViewport::updateScrollPosition(const DoublePoint& position,
|
| + ScrollType scrollType) {
|
| + if (didSetScaleOrLocation(m_scale, toFloatPoint(position)) &&
|
| scrollType != AnchoringScroll)
|
| notifyRootFrameViewport();
|
| }
|
|
|