| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 3c579bf8e4103bcd2c2dc80298e656f22cc3b95b..066b99e2dca0778d50d1db978a9c536bd8cea81c 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -3681,7 +3681,7 @@ bool FrameView::shouldPlaceVerticalScrollbarOnLeft() const
|
| return false;
|
| }
|
|
|
| -LayoutRect FrameView::scrollIntoView(const LayoutRect& rectInContent, const ScrollAlignment& alignX, const ScrollAlignment& alignY)
|
| +LayoutRect FrameView::scrollIntoView(const LayoutRect& rectInContent, const ScrollAlignment& alignX, const ScrollAlignment& alignY, ScrollType scrollType)
|
| {
|
| LayoutRect viewRect(visibleContentRect());
|
| LayoutRect exposeRect = ScrollAlignment::getRectToExpose(viewRect, rectInContent, alignX, alignY);
|
| @@ -3689,7 +3689,7 @@ LayoutRect FrameView::scrollIntoView(const LayoutRect& rectInContent, const Scro
|
| double xOffset = exposeRect.x();
|
| double yOffset = exposeRect.y();
|
|
|
| - setScrollPosition(DoublePoint(xOffset, yOffset), ProgrammaticScroll);
|
| + setScrollPosition(DoublePoint(xOffset, yOffset), scrollType);
|
|
|
| // Scrolling the FrameView cannot change the input rect's location relative to the document.
|
| return rectInContent;
|
|
|