Index: Source/core/editing/EditorCommand.cpp |
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp |
index 17bdd23f39e7635090cb6aa138256fe418814c4f..1661a07ba0dee158ff3f2654b5dfcab074487805 100644 |
--- a/Source/core/editing/EditorCommand.cpp |
+++ b/Source/core/editing/EditorCommand.cpp |
@@ -259,7 +259,7 @@ static unsigned verticalScrollDistance(Frame* frame) |
if (!(style->overflowY() == OSCROLL || style->overflowY() == OAUTO || focusedElement->rendererIsEditable())) |
return 0; |
int height = std::min<int>(toRenderBox(renderer)->clientHeight(), frame->view()->visibleHeight()); |
- return static_cast<unsigned>(max(max<int>(height * Scrollbar::minFractionToStepWhenPaging(), height - Scrollbar::maxOverlapBetweenPages()), 1)); |
+ return static_cast<unsigned>(max(max<int>(height * ScrollableArea::minFractionToStepWhenPaging(), height - ScrollableArea::maxOverlapBetweenPages()), 1)); |
} |
static RefPtr<Range> unionDOMRanges(Range* a, Range* b) |