| Index: Source/core/dom/Range.cpp
|
| diff --git a/Source/core/dom/Range.cpp b/Source/core/dom/Range.cpp
|
| index 0fbd5d7368de4202d2956ba7a7c97b1714d53c81..7cee148ee7ba831f58fc67beccde79ad8aad4d80 100644
|
| --- a/Source/core/dom/Range.cpp
|
| +++ b/Source/core/dom/Range.cpp
|
| @@ -877,7 +877,7 @@ PassRefPtr<Node> Range::processAncestorsAndTheirSiblings(ActionType action, Node
|
| ancestors.append(n);
|
|
|
| RefPtr<Node> firstChildInAncestorToProcess = direction == ProcessContentsForward ? container->nextSibling() : container->previousSibling();
|
| - for (Vector<RefPtr<Node> >::const_iterator it = ancestors.begin(); it != ancestors.end(); it++) {
|
| + for (Vector<RefPtr<Node> >::const_iterator it = ancestors.begin(); it != ancestors.end(); ++it) {
|
| RefPtr<Node> ancestor = *it;
|
| if (action == EXTRACT_CONTENTS || action == CLONE_CONTENTS) {
|
| if (RefPtr<Node> clonedAncestor = ancestor->cloneNode(false)) { // Might have been removed already during mutation event.
|
| @@ -896,7 +896,7 @@ PassRefPtr<Node> Range::processAncestorsAndTheirSiblings(ActionType action, Node
|
| child = (direction == ProcessContentsForward) ? child->nextSibling() : child->previousSibling())
|
| nodes.append(child);
|
|
|
| - for (NodeVector::const_iterator it = nodes.begin(); it != nodes.end(); it++) {
|
| + for (NodeVector::const_iterator it = nodes.begin(); it != nodes.end(); ++it) {
|
| Node* child = it->get();
|
| switch (action) {
|
| case DELETE_CONTENTS:
|
|
|