Index: Source/core/layout/LayoutBox.cpp |
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp |
index d3aca75eafc13ea9a620acf49e44a27baefa275f..253382337cece27a87577734572d5dd8db71a177 100644 |
--- a/Source/core/layout/LayoutBox.cpp |
+++ b/Source/core/layout/LayoutBox.cpp |
@@ -709,7 +709,7 @@ int LayoutBox::intrinsicScrollbarLogicalWidth() const |
return 0; |
} |
-bool LayoutBox::scroll(ScrollDirection direction, ScrollGranularity granularity, float delta) |
+ScrollResultOneDimensional LayoutBox::scroll(ScrollDirection direction, ScrollGranularity granularity, float delta) |
{ |
// Presumably the same issue as in setScrollTop. See crbug.com/343132. |
DisableCompositingQueryAsserts disabler; |
@@ -718,7 +718,7 @@ bool LayoutBox::scroll(ScrollDirection direction, ScrollGranularity granularity, |
ASSERT(!isLogical(direction)); |
if (!layer() || !layer()->scrollableArea()) |
- return false; |
+ return ScrollResultOneDimensional(false); |
return layer()->scrollableArea()->scroll(direction, granularity, delta); |
} |