| 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..ffe4cd867bc369e9a83f4cc8270cda86ab27424b 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 HTMLToken::Attribute& tokenAttribute : tokenAttributes) {
|
| + String attributeName = attemptStaticStringCreation(tokenAttribute.name, Likely8Bit);
|
| + String attributeValue = StringImpl::create8BitIfPossible(tokenAttribute.value);
|
| attributes.append(std::make_pair(attributeName, attributeValue));
|
| }
|
|
|
|
|