| Index: Source/core/layout/LayoutBox.cpp
|
| diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp
|
| index ea880276d2887d938e1f40ae614c80b2e7e918ae..7d7594d9ed92811b98bc6c13e29d0c1702459a52 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()->userScroll(direction, granularity, delta);
|
| }
|
|
|