| 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 db3f1b39503cbfd8d2d8035bdc12268837bfb83b..28942bdb7d3a0f6b9f9d61bb4da6efee45efcc6e 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -622,13 +622,13 @@ DeprecatedPaintLayer* 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;
|
| }
|
|
|
|
|