Index: Source/core/editing/VisibleUnits.cpp |
diff --git a/Source/core/editing/VisibleUnits.cpp b/Source/core/editing/VisibleUnits.cpp |
index c3842b4232f523a4892053b0034ea5ee4302bf4d..3af707634d0d2be3ea63bd4a91cbb9f4b0d51e00 100644 |
--- a/Source/core/editing/VisibleUnits.cpp |
+++ b/Source/core/editing/VisibleUnits.cpp |
@@ -993,7 +993,7 @@ VisiblePosition nextLinePosition(const VisiblePosition &visiblePosition, int lin |
if (!root) { |
// FIXME: We need do the same in previousLinePosition. |
- Node* child = node->traverseToChildAt(p.deprecatedEditingOffset()); |
+ Node* child = NodeTraversal::childAt(*node, p.deprecatedEditingOffset()); |
node = child ? child : &NodeTraversal::lastWithinOrSelf(*node); |
Position position = nextRootInlineBoxCandidatePosition(node, visiblePosition, editableType); |
if (position.isNotNull()) { |