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

Unified Diff: Source/core/html/parser/TextDocumentParser.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/TextDocumentParser.h ('k') | Source/core/html/parser/TextResourceDecoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/TextDocumentParser.cpp
diff --git a/Source/core/html/parser/TextDocumentParser.cpp b/Source/core/html/parser/TextDocumentParser.cpp
index d29935a77c95559a13dbde1c3f6f887caa709d43..38175a0f6bfea99a4338b6a7d7afcd1f8b2bd707 100644
--- a/Source/core/html/parser/TextDocumentParser.cpp
+++ b/Source/core/html/parser/TextDocumentParser.cpp
@@ -42,11 +42,11 @@ TextDocumentParser::~TextDocumentParser()
{
}
-void TextDocumentParser::appendBytes(const char* data, size_t length)
+void TextDocumentParser::append(PassRefPtr<StringImpl> text)
{
if (!m_haveInsertedFakePreElement)
insertFakePreElement();
- HTMLDocumentParser::appendBytes(data, length);
+ HTMLDocumentParser::append(text);
}
void TextDocumentParser::insertFakePreElement()
« no previous file with comments | « Source/core/html/parser/TextDocumentParser.h ('k') | Source/core/html/parser/TextResourceDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698