| Index: Source/core/html/parser/HTMLParserIdioms.cpp
|
| diff --git a/Source/core/html/parser/HTMLParserIdioms.cpp b/Source/core/html/parser/HTMLParserIdioms.cpp
|
| index 7650fa88c4bcf46f632c36bed02d1d09e47fe43b..5f096a64356f50d5206f6ff7f4b6f07e40b90c4f 100644
|
| --- a/Source/core/html/parser/HTMLParserIdioms.cpp
|
| +++ b/Source/core/html/parser/HTMLParserIdioms.cpp
|
| @@ -325,9 +325,9 @@ WTF::TextEncoding encodingFromMetaAttributes(const HTMLAttributeList& attributes
|
| Mode mode = None;
|
| String charset;
|
|
|
| - for (HTMLAttributeList::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) {
|
| - const String& attributeName = iter->first;
|
| - const String& attributeValue = AtomicString(iter->second);
|
| + for (const auto& htmlAttribute : attributes) {
|
| + const String& attributeName = htmlAttribute.first;
|
| + const String& attributeValue = AtomicString(htmlAttribute.second);
|
|
|
| if (threadSafeMatch(attributeName, http_equivAttr)) {
|
| if (equalIgnoringCase(attributeValue, "content-type"))
|
|
|