summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/ScrollView.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/ScrollView.h')
-rw-r--r--Source/WebCore/platform/ScrollView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/ScrollView.h b/Source/WebCore/platform/ScrollView.h
index 2cbcc270e..a8cc7d011 100644
--- a/Source/WebCore/platform/ScrollView.h
+++ b/Source/WebCore/platform/ScrollView.h
@@ -184,7 +184,7 @@ public:
IntPoint cachedScrollPosition() const { return m_cachedScrollPosition; }
// Functions for scrolling the view.
- void setScrollPosition(const IntPoint&);
+ virtual void setScrollPosition(const IntPoint&);
void scrollBy(const IntSize& s) { return setScrollPosition(scrollPosition() + s); }
// This function scrolls by lines, pages or pixels.