Index: Source/core/editing/EditorCommand.cpp |
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp |
index 5fcf7e24a6324c364a275aad56fa3eb3ee843699..602979edc2ef7d1d0fbd81d4b39177e2c3198f72 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 || focusedNode->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) |