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

Unified Diff: third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp

Issue 2574773002: Migrate WTF::Vector::append() to ::push_back() [part 4 of N] (Closed)
Patch Set: rebase 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/dom/DatasetDOMStringMap.cpp
diff --git a/third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp b/third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp
index ee7a019b71d553c223242d72a456b366a996e4ed..e006a7a19a77ea4d177ffc12dc3961a0294432ca 100644
--- a/third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp
+++ b/third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp
@@ -153,7 +153,7 @@ void DatasetDOMStringMap::getNames(Vector<String>& names) {
AttributeCollection attributes = m_element->attributes();
for (const Attribute& attr : attributes) {
if (isValidAttributeName(attr.localName()))
- names.append(convertAttributeNameToPropertyName(attr.localName()));
+ names.push_back(convertAttributeNameToPropertyName(attr.localName()));
}
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMTokenList.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698