Index: Source/core/editing/FrameSelection.cpp |
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp |
index a9ca281adba5bccd01a0725c682adbe0899600a0..556dcb361861e71760bae69d1571cf63875e98e5 100644 |
--- a/Source/core/editing/FrameSelection.cpp |
+++ b/Source/core/editing/FrameSelection.cpp |
@@ -1211,7 +1211,7 @@ LayoutUnit FrameSelection::lineDirectionPointForBlockDirectionNavigation(EPositi |
VisiblePosition visiblePosition(pos, m_selection.affinity()); |
// VisiblePosition creation can fail here if a node containing the selection becomes visibility:hidden |
// after the selection is created and before this function is called. |
- x = visiblePosition.lineDirectionPointForBlockDirectionNavigation(); |
+ x = lineDirectionPointForBlockDirectionNavigationOf(visiblePosition); |
m_xPosForVerticalArrowNavigation = x; |
} else { |
x = m_xPosForVerticalArrowNavigation; |