Index: Source/core/layout/LayoutBox.cpp |
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp |
index 853af94886dacf9555dd823ddde11ed745fa3116..b21e538cb1aef2af36211d575e5d6a8daac948bd 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); |
} |