Index: Source/core/editing/CompositeEditCommand.cpp |
diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp |
index 297227e72bbd3cf7ae4618fe3c17949fbd243196..508669b6cdcde0c30e116f03e469ee5f9b29be65 100644 |
--- a/Source/core/editing/CompositeEditCommand.cpp |
+++ b/Source/core/editing/CompositeEditCommand.cpp |
@@ -368,7 +368,7 @@ void CompositeEditCommand::appendNode(PassRefPtrWillBeRawPtr<Node> node, PassRef |
void CompositeEditCommand::removeChildrenInRange(PassRefPtrWillBeRawPtr<Node> node, unsigned from, unsigned to) |
{ |
WillBeHeapVector<RefPtrWillBeMember<Node> > children; |
- Node* child = node->traverseToChildAt(from); |
+ Node* child = NodeTraversal::childAt(*node, from); |
for (unsigned i = from; child && i < to; i++, child = child->nextSibling()) |
children.append(child); |