Index: Source/platform/scroll/ScrollView.cpp |
diff --git a/Source/platform/scroll/ScrollView.cpp b/Source/platform/scroll/ScrollView.cpp |
index 4b778ab6951c066d3e4ed868b0a655f81cec7463..9062ec7abdf882ba7cbae20c0af73909e361fe02 100644 |
--- a/Source/platform/scroll/ScrollView.cpp |
+++ b/Source/platform/scroll/ScrollView.cpp |
@@ -1112,13 +1112,4 @@ void ScrollView::setScrollOrigin(const IntPoint& origin, bool updatePositionAtAl |
updateScrollbars(scrollOffset()); |
} |
-int ScrollView::pageStep(ScrollbarOrientation orientation) const |
-{ |
- int length = (orientation == HorizontalScrollbar) ? visibleWidth() : visibleHeight(); |
- int minPageStep = static_cast<float>(length) * minFractionToStepWhenPaging(); |
- int pageStep = std::max(minPageStep, length - maxOverlapBetweenPages()); |
- |
- return std::max(pageStep, 1); |
-} |
- |
} // namespace WebCore |