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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.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/parser/HTMLMetaCharsetParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp
index fac2787d72b76b130f52f21c7f825a3bf3c78e71..37e6614dd8d52dd09ad94c5486ab4099129a258d 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp
@@ -52,7 +52,7 @@ bool HTMLMetaCharsetParser::processMeta() {
for (const HTMLToken::Attribute& tokenAttribute : tokenAttributes) {
String attributeName = tokenAttribute.nameAttemptStaticStringCreation();
String attributeValue = tokenAttribute.value8BitIfNecessary();
- attributes.append(std::make_pair(attributeName, attributeValue));
+ attributes.push_back(std::make_pair(attributeName, attributeValue));
}
m_encoding = encodingFromMetaAttributes(attributes);

Powered by Google App Engine
This is Rietveld 408576698