| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 3bc1709ebb82d41630deda811a4c8265d7b1c927..602c14383e3ff88f2d8bfd72ad04d82fc13514b1 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -790,15 +790,15 @@ int LayoutBox::intrinsicScrollbarLogicalWidth() const
|
| return 0;
|
| }
|
|
|
| -ScrollResultOneDimensional LayoutBox::scroll(ScrollDirectionPhysical direction, ScrollGranularity granularity, float delta)
|
| +ScrollResult LayoutBox::scroll(ScrollGranularity granularity, const FloatSize& delta)
|
| {
|
| // Presumably the same issue as in setScrollTop. See crbug.com/343132.
|
| DisableCompositingQueryAsserts disabler;
|
|
|
| if (!layer() || !layer()->scrollableArea())
|
| - return ScrollResultOneDimensional(false);
|
| + return ScrollResult();
|
|
|
| - return layer()->scrollableArea()->userScroll(direction, granularity, delta);
|
| + return layer()->scrollableArea()->userScroll(granularity, delta);
|
| }
|
|
|
| bool LayoutBox::canBeScrolledAndHasScrollableArea() const
|
|
|