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); |