Index: Source/core/layout/LayoutBox.h |
diff --git a/Source/core/layout/LayoutBox.h b/Source/core/layout/LayoutBox.h |
index 7e278c871f791bfb21d1ad3a8c38a045a91995c4..ddce535128252f8c9ce39dd860089026df15eb0e 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&); |