Index: Source/platform/scroll/ScrollView.h |
diff --git a/Source/platform/scroll/ScrollView.h b/Source/platform/scroll/ScrollView.h |
index cccd70ea840e5d95f98eaf2d558d533b54ad77c6..ee26a3ef4b84069eab39849b7effd05839581e0a 100644 |
--- a/Source/platform/scroll/ScrollView.h |
+++ b/Source/platform/scroll/ScrollView.h |
@@ -71,7 +71,7 @@ public: |
// can be used to obtain those scrollbars. |
virtual Scrollbar* horizontalScrollbar() const OVERRIDE { return m_horizontalScrollbar.get(); } |
virtual Scrollbar* verticalScrollbar() const OVERRIDE { return m_verticalScrollbar.get(); } |
- bool isScrollViewScrollbar(const Widget* child) const { return horizontalScrollbar() == child || verticalScrollbar() == child; } |
+ virtual bool isScrollViewScrollbar(const Widget* child) const OVERRIDE { return horizontalScrollbar() == child || verticalScrollbar() == child; } |
void positionScrollbarLayers(); |
@@ -283,6 +283,7 @@ protected: |
}; |
void computeScrollbarExistence(bool& newHasHorizontalScrollbar, bool& newHasVerticalScrollbar, const IntSize& docSize, ComputeScrollbarExistenceOption = FirstPass) const; |
void updateScrollbarGeometry(); |
+ IntRect adjustScrollbarRectForResizer(const IntRect&, Scrollbar*); |
// Called to update the scrollbars to accurately reflect the state of the view. |
void updateScrollbars(const IntSize& desiredOffset); |