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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElement.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/custom/V0CustomElement.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElement.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElement.cpp
index ec99d0f8f44b3cdff9d0d0813a84bd2428a1b5d5..e6cee541d9077db25e78785bf9401d68c4117e26 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElement.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElement.cpp
@@ -59,7 +59,7 @@ void V0CustomElement::addEmbedderCustomElementName(const AtomicString& name) {
AtomicString lower = name.lower();
if (isValidName(lower, EmbedderNames))
return;
- embedderCustomElementNames().append(lower);
+ embedderCustomElementNames().push_back(lower);
}
static inline bool isValidNCName(const AtomicString& name) {
@@ -89,7 +89,7 @@ bool V0CustomElement::isValidName(const AtomicString& name,
DEFINE_STATIC_LOCAL(Vector<AtomicString>, reservedNames, ());
if (reservedNames.isEmpty()) {
// FIXME(crbug.com/426605): We should be able to remove this.
- reservedNames.append(MathMLNames::annotation_xmlTag.localName());
+ reservedNames.push_back(MathMLNames::annotation_xmlTag.localName());
}
if (kNotFound == reservedNames.find(name))

Powered by Google App Engine
This is Rietveld 408576698