Index: Source/core/editing/DeleteSelectionCommand.cpp |
diff --git a/Source/core/editing/DeleteSelectionCommand.cpp b/Source/core/editing/DeleteSelectionCommand.cpp |
index c7061d3b6696685f2c9a26f35bcc75fc21822657..a5856c957ab7bd59897b0fb8b15a0e12737898b9 100644 |
--- a/Source/core/editing/DeleteSelectionCommand.cpp |
+++ b/Source/core/editing/DeleteSelectionCommand.cpp |
@@ -505,7 +505,7 @@ void DeleteSelectionCommand::handleGeneralDelete() |
deleteTextFromNode(text, startOffset, text->length() - startOffset); |
node = NodeTraversal::next(*node); |
} else { |
- node = startNode->traverseToChildAt(startOffset); |
+ node = NodeTraversal::childAt(*startNode, startOffset); |
} |
} else if (startNode == m_upstreamEnd.deprecatedNode() && startNode->isTextNode()) { |
Text* text = toText(m_upstreamEnd.deprecatedNode()); |