Index: Source/core/editing/CompositeEditCommand.cpp |
diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp |
index 88f304939286cbf1e53d30287d971f16bbf28559..18254f195d5705326757a36a90d018583ab360dd 100644 |
--- a/Source/core/editing/CompositeEditCommand.cpp |
+++ b/Source/core/editing/CompositeEditCommand.cpp |
@@ -797,7 +797,7 @@ void CompositeEditCommand::deleteInsignificantText(const Position& start, const |
return; |
Vector<RefPtr<Text> > nodes; |
- for (Node* node = start.deprecatedNode(); node; node = NodeTraversal::next(node)) { |
+ for (Node* node = start.deprecatedNode(); node; node = NodeTraversal::next(*node)) { |
if (node->isTextNode()) |
nodes.append(toText(node)); |
if (node == end.deprecatedNode()) |