| 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 408cf6095e6526c6088898f9980f11c49516ef72..aa88b666200bf97f338620537982474947939d66 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -630,13 +630,15 @@ bool LayoutObject::ScrollRectToVisible(const LayoutRect& rect,
|
| const ScrollAlignment& align_x,
|
| const ScrollAlignment& align_y,
|
| ScrollType scroll_type,
|
| - bool make_visible_in_visual_viewport) {
|
| + bool make_visible_in_visual_viewport,
|
| + ScrollBehavior scroll_behavior) {
|
| LayoutBox* enclosing_box = this->EnclosingBox();
|
| if (!enclosing_box)
|
| return false;
|
|
|
| enclosing_box->ScrollRectToVisible(rect, align_x, align_y, scroll_type,
|
| - make_visible_in_visual_viewport);
|
| + make_visible_in_visual_viewport,
|
| + scroll_behavior);
|
| return true;
|
| }
|
|
|
|
|