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