Index: third_party/WebKit/Source/core/html/HTMLFormControlsCollection.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlsCollection.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlsCollection.cpp |
index 68013998e211578fcf499303f3e1fcc2fd17e6d0..8810a78d9a731205b666356c153e97980998b99e 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFormControlsCollection.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlsCollection.cpp |
@@ -207,14 +207,14 @@ void HTMLFormControlsCollection::supportedPropertyNames(Vector<String>& names) { |
HashSet<AtomicString>::AddResult addResult = |
existingNames.add(idAttribute); |
if (addResult.isNewEntry) |
- names.append(idAttribute); |
+ names.push_back(idAttribute); |
} |
const AtomicString& nameAttribute = element->getNameAttribute(); |
if (!nameAttribute.isEmpty()) { |
HashSet<AtomicString>::AddResult addResult = |
existingNames.add(nameAttribute); |
if (addResult.isNewEntry) |
- names.append(nameAttribute); |
+ names.push_back(nameAttribute); |
} |
} |
} |