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

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

Issue 133273007: Revert "Moved text decoding to the parser thread" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/core/html/parser/HTMLTokenizer.cpp ('k') | Source/core/html/parser/TextDocumentParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLViewSourceParser.cpp
diff --git a/Source/core/html/parser/HTMLViewSourceParser.cpp b/Source/core/html/parser/HTMLViewSourceParser.cpp
index 55e860f3d1fe2bb8b881a0171bb0087a29f6c7e2..b46ff5ad2e99adfc6840ad27e5ad71b5b480a8fe 100644
--- a/Source/core/html/parser/HTMLViewSourceParser.cpp
+++ b/Source/core/html/parser/HTMLViewSourceParser.cpp
@@ -27,7 +27,6 @@
#include "core/html/parser/HTMLViewSourceParser.h"
#include "core/dom/DOMImplementation.h"
-#include "core/html/parser/HTMLParserIdioms.h"
#include "core/html/parser/HTMLParserOptions.h"
#include "core/html/parser/HTMLToken.h"
@@ -53,7 +52,7 @@ void HTMLViewSourceParser::pumpTokenizer()
// FIXME: The tokenizer should do this work for us.
if (m_token.type() == HTMLToken::StartTag)
- m_tokenizer->updateStateFor(attemptStaticStringCreation(m_token.name(), Likely8Bit));
+ m_tokenizer->updateStateFor(AtomicString(m_token.name()));
m_token.clear();
}
}
« no previous file with comments | « Source/core/html/parser/HTMLTokenizer.cpp ('k') | Source/core/html/parser/TextDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698