Index: third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
index 93f9bd0c73704062942564dfc2d81928378cf7c8..b47ce43e6e074350f79457220f9c66134af02b09 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
@@ -471,7 +471,7 @@ void HTMLTextAreaElement::setDefaultValue(const String& defaultValue) { |
HeapVector<Member<Node>> textNodes; |
for (Node* n = firstChild(); n; n = n->nextSibling()) { |
if (n->isTextNode()) |
- textNodes.append(n); |
+ textNodes.push_back(n); |
} |
for (const auto& text : textNodes) |
removeChild(text.get(), IGNORE_EXCEPTION); |