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

Unified Diff: third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h

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/parser/AtomicHTMLToken.h
diff --git a/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h b/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h
index c77783913ad53555a20cbbac814ff84ab2a060f9..4b0db8daf2b9bcd0113f15c3eb17ba2d167f1dab 100644
--- a/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h
+++ b/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h
@@ -157,7 +157,7 @@ class CORE_EXPORT AtomicHTMLToken {
nullAtom);
// FIXME: This is N^2 for the number of attributes.
if (!findAttributeInVector(m_attributes, name))
- m_attributes.append(
+ m_attributes.push_back(
Attribute(name, AtomicString(attribute.value())));
}
// Fall through!
@@ -233,7 +233,7 @@ inline void AtomicHTMLToken::initializeAttributes(
const QualifiedName& name = nameForAttribute(attribute);
// FIXME: This is N^2 for the number of attributes.
if (!findAttributeInVector(m_attributes, name))
- m_attributes.append(Attribute(name, value));
+ m_attributes.push_back(Attribute(name, value));
}
}

Powered by Google App Engine
This is Rietveld 408576698