2006-10-03 Mark Rowe <bdash@webkit.org>
[WebKit-https.git] / WebCore / platform / gdk / ScrollViewGdk.cpp
index 452f8fe29df884266828ed544dfd9be8fef8754b..27b283dabbbc2b8794fb235c6aba6c3365991811 100644 (file)
@@ -147,16 +147,6 @@ int ScrollView::contentsHeight() const
     return m_data->contentsSize.height();
 }
 
-IntPoint ScrollView::viewportToContents(const IntPoint& contentsPoint)
-{
-    return contentsPoint + scrollOffset();
-}
-
-IntPoint ScrollView::contentsToViewport(const IntPoint& viewportPoint)
-{
-    return IntPoint(viewportPoint) - scrollOffset();
-}
-
 IntSize ScrollView::scrollOffset() const
 {
     return m_data->scrollOffset;