| Index: third_party/WebKit/Source/core/dom/Range.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Range.cpp b/third_party/WebKit/Source/core/dom/Range.cpp
|
| index 9311eabbb81786aa863888cd3b209f9b7b859818..bf3832d19f4575c8599d5a6eb0d4c8b8eec7abbc 100644
|
| --- a/third_party/WebKit/Source/core/dom/Range.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Range.cpp
|
| @@ -590,7 +590,7 @@ DocumentFragment* Range::processContents(ActionType action,
|
| if (processStart) {
|
| NodeVector nodes;
|
| for (Node* n = processStart; n && n != processEnd; n = n->nextSibling())
|
| - nodes.append(n);
|
| + nodes.push_back(n);
|
| processNodes(action, nodes, commonRoot, fragment, exceptionState);
|
| }
|
|
|
| @@ -662,7 +662,7 @@ Node* Range::processContentsBetweenOffsets(ActionType action,
|
| n = n->nextSibling();
|
| for (unsigned i = startOffset; n && i < endOffset;
|
| i++, n = n->nextSibling())
|
| - nodes.append(n);
|
| + nodes.push_back(n);
|
|
|
| processNodes(action, nodes, container, result, exceptionState);
|
| break;
|
| @@ -705,7 +705,7 @@ Node* Range::processAncestorsAndTheirSiblings(
|
| for (Node& runner : NodeTraversal::ancestorsOf(*container)) {
|
| if (runner == commonRoot)
|
| break;
|
| - ancestors.append(runner);
|
| + ancestors.push_back(runner);
|
| }
|
|
|
| Node* firstChildInAncestorToProcess = direction == ProcessContentsForward
|
| @@ -731,7 +731,7 @@ Node* Range::processAncestorsAndTheirSiblings(
|
| child = (direction == ProcessContentsForward)
|
| ? child->nextSibling()
|
| : child->previousSibling())
|
| - nodes.append(child);
|
| + nodes.push_back(child);
|
|
|
| for (const auto& node : nodes) {
|
| Node* child = node.get();
|
|
|