Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(986)

Unified Diff: Source/core/html/parser/HTMLMetaCharsetParser.cpp

Issue 108313015: Make calls to AtomicString(const String&) explicit in html/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take feedback into consideration Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/parser/HTMLMetaCharsetParser.cpp
diff --git a/Source/core/html/parser/HTMLMetaCharsetParser.cpp b/Source/core/html/parser/HTMLMetaCharsetParser.cpp
index 038c8a1e5fb7e896335332768fd9b0dea299b629..249e98bd9f3b07bbcdfacbd0fb69c2b094af12b4 100644
--- a/Source/core/html/parser/HTMLMetaCharsetParser.cpp
+++ b/Source/core/html/parser/HTMLMetaCharsetParser.cpp
@@ -121,7 +121,7 @@ WTF::TextEncoding HTMLMetaCharsetParser::encodingFromMetaAttributes(const Attrib
String charset;
for (AttributeList::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) {
- const AtomicString& attributeName = iter->first;
+ const AtomicString& attributeName = AtomicString(iter->first);
const String& attributeValue = iter->second;
if (attributeName == http_equivAttr) {

Powered by Google App Engine
This is Rietveld 408576698