Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: third_party/WebKit/Source/core/html/HTMLFormControlsCollection.cpp

Issue 2583233002: Migrate WTF::Vector::append() to ::push_back() [part 7 of N] (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698