| Index: Source/core/layout/LayoutBox.cpp
|
| diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp
|
| index cea21096536c19972e910b5159826c6ef4431a8d..307c04ad73e5ac874b4cd2cd5c425d20cdd800f5 100644
|
| --- a/Source/core/layout/LayoutBox.cpp
|
| +++ b/Source/core/layout/LayoutBox.cpp
|
| @@ -711,13 +711,13 @@ int LayoutBox::intrinsicScrollbarLogicalWidth() const
|
| return 0;
|
| }
|
|
|
| -bool LayoutBox::scroll(ScrollDirectionPhysical direction, ScrollGranularity granularity, float delta)
|
| +ScrollResultOneDimensional LayoutBox::scroll(ScrollDirectionPhysical direction, ScrollGranularity granularity, float delta)
|
| {
|
| // Presumably the same issue as in setScrollTop. See crbug.com/343132.
|
| DisableCompositingQueryAsserts disabler;
|
|
|
| if (!layer() || !layer()->scrollableArea())
|
| - return false;
|
| + return ScrollResultOneDimensional(false);
|
|
|
| return layer()->scrollableArea()->scroll(direction, granularity, delta);
|
| }
|
|
|