| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 65c242afbaf3935b5fc52e30cdeac3e110fc0630..b749e02b027464d4f066b314e9d3d105097b623a 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -622,13 +622,13 @@ PaintLayer* LayoutObject::enclosingLayer() const
|
| return nullptr;
|
| }
|
|
|
| -bool LayoutObject::scrollRectToVisible(const LayoutRect& rect, const ScrollAlignment& alignX, const ScrollAlignment& alignY)
|
| +bool LayoutObject::scrollRectToVisible(const LayoutRect& rect, const ScrollAlignment& alignX, const ScrollAlignment& alignY, ScrollType scrollType)
|
| {
|
| LayoutBox* enclosingBox = this->enclosingBox();
|
| if (!enclosingBox)
|
| return false;
|
|
|
| - enclosingBox->scrollRectToVisible(rect, alignX, alignY);
|
| + enclosingBox->scrollRectToVisible(rect, alignX, alignY, scrollType);
|
| return true;
|
| }
|
|
|
|
|