| Index: Source/core/layout/LayoutBox.cpp
|
| diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp
|
| index 0dc69e022b5e13d8e96858008db145adf629eb62..c101ccddbe9aa9517040574a79f9981839c1dd4e 100644
|
| --- a/Source/core/layout/LayoutBox.cpp
|
| +++ b/Source/core/layout/LayoutBox.cpp
|
| @@ -699,13 +699,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);
|
| }
|
|
|