X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fhtml%2Fparser%2FHTMLMetaCharsetParser.cpp;h=ffe4cd867bc369e9a83f4cc8270cda86ab27424b;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=26de6900178058e80b9795a01a0e79437088e82d;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp b/src/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp index 26de690..ffe4cd8 100644 --- a/src/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp +++ b/src/third_party/WebKit/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)); }