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

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

Issue 74513003: Moved text decoding to the parser thread (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parserthread_step25
Patch Set: Removed AtomicString from HTMLMetaCharsetParser Created 7 years, 1 month 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.h
diff --git a/Source/core/html/parser/HTMLMetaCharsetParser.h b/Source/core/html/parser/HTMLMetaCharsetParser.h
index 3393fca40d234bda8b3dbeedb0500c79b37623fc..6937a23eeb2ececad6c87f8e26fd9cb2531020a4 100644
--- a/Source/core/html/parser/HTMLMetaCharsetParser.h
+++ b/Source/core/html/parser/HTMLMetaCharsetParser.h
@@ -34,6 +34,7 @@
namespace WebCore {
+class HTMLIdentifier;
class HTMLTokenizer;
class HTMLMetaCharsetParser {
@@ -48,7 +49,7 @@ public:
const WTF::TextEncoding& encoding() { return m_encoding; }
- typedef Vector<pair<String, String> > AttributeList;
+ typedef Vector<pair<HTMLIdentifier, String> > AttributeList;
// The returned encoding might not be valid.
static WTF::TextEncoding encodingFromMetaAttributes(const AttributeList&
);

Powered by Google App Engine
This is Rietveld 408576698