| Index: Source/core/html/parser/HTMLMetaCharsetParser.cpp
|
| diff --git a/Source/core/html/parser/HTMLMetaCharsetParser.cpp b/Source/core/html/parser/HTMLMetaCharsetParser.cpp
|
| index 26de6900178058e80b9795a01a0e79437088e82d..85f6de0e0c3962d11d884c115c4b3b200c13dcde 100644
|
| --- a/Source/core/html/parser/HTMLMetaCharsetParser.cpp
|
| +++ b/Source/core/html/parser/HTMLMetaCharsetParser.cpp
|
| @@ -55,9 +55,9 @@ bool HTMLMetaCharsetParser::processMeta()
|
| {
|
| const HTMLToken::AttributeList& tokenAttributes = m_token.attributes();
|
| HTMLAttributeList attributes;
|
| - for (HTMLToken::AttributeList::const_iterator iter = tokenAttributes.begin(); iter != tokenAttributes.end(); ++iter) {
|
| - String attributeName = attemptStaticStringCreation(iter->name, Likely8Bit);
|
| - String attributeValue = StringImpl::create8BitIfPossible(iter->value);
|
| + for (const auto& tokenAttribute : tokenAttributes) {
|
| + String attributeName = attemptStaticStringCreation(tokenAttribute.name, Likely8Bit);
|
| + String attributeValue = StringImpl::create8BitIfPossible(tokenAttribute.value);
|
| attributes.append(std::make_pair(attributeName, attributeValue));
|
| }
|
|
|
|
|