Index: WebCore/editing/CompositeEditCommand.cpp |
=================================================================== |
--- WebCore/editing/CompositeEditCommand.cpp (revision 73077) |
+++ WebCore/editing/CompositeEditCommand.cpp (working copy) |
@@ -776,8 +776,8 @@ |
outerNode = outerNode->parentNode(); |
topNode = topNode->parentNode(); |
} |
- |
- for (Node* n = start.node()->traverseNextSibling(outerNode); n; n = n->nextSibling()) { |
+ |
+ for (Node* n = start.node()->traverseNextSibling(outerNode); n; n = n->traverseNextSibling(outerNode)) { |
if (n->parentNode() != start.node()->parentNode()) |
lastNode = topNode->lastChild(); |