Index: Source/core/layout/LayoutBox.h |
diff --git a/Source/core/layout/LayoutBox.h b/Source/core/layout/LayoutBox.h |
index 42bc43fe520c46f8de026a07375395f029fea671..81443a10f844d8ab349fab9df866e1b791b30066 100644 |
--- a/Source/core/layout/LayoutBox.h |
+++ b/Source/core/layout/LayoutBox.h |
@@ -543,7 +543,7 @@ public: |
int intrinsicScrollbarLogicalWidth() const; |
int scrollbarLogicalWidth() const { return style()->isHorizontalWritingMode() ? verticalScrollbarWidth() : horizontalScrollbarHeight(); } |
int scrollbarLogicalHeight() const { return style()->isHorizontalWritingMode() ? horizontalScrollbarHeight() : verticalScrollbarWidth(); } |
- virtual bool scroll(ScrollDirection, ScrollGranularity, float delta = 1); |
+ virtual ScrollResultOneDimensional scroll(ScrollDirection, ScrollGranularity, float delta = 1); |
bool canBeScrolledAndHasScrollableArea() const; |
virtual bool canBeProgramaticallyScrolled() const; |
virtual void autoscroll(const IntPoint&); |