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

Unified Diff: sky/engine/core/html/parser/BackgroundHTMLParser.h

Issue 678533003: Remove HTMLTreeBuilderSimulator (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/core/core.gni ('k') | sky/engine/core/html/parser/BackgroundHTMLParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/parser/BackgroundHTMLParser.h
diff --git a/sky/engine/core/html/parser/BackgroundHTMLParser.h b/sky/engine/core/html/parser/BackgroundHTMLParser.h
index 9f2551376397b73c6c4cb289a25f4696127f9c2f..d19377c15d78f82fe96653b5a1d53cc60abfbe49 100644
--- a/sky/engine/core/html/parser/BackgroundHTMLParser.h
+++ b/sky/engine/core/html/parser/BackgroundHTMLParser.h
@@ -29,7 +29,7 @@
#include "base/memory/weak_ptr.h"
#include "core/html/parser/CompactHTMLToken.h"
#include "core/html/parser/HTMLParserOptions.h"
-#include "core/html/parser/HTMLTreeBuilderSimulator.h"
+#include "core/html/parser/HTMLTokenizer.h"
#include "core/html/parser/TextResourceDecoder.h"
#include "platform/text/SegmentedString.h"
#include "wtf/PassOwnPtr.h"
@@ -74,11 +74,11 @@ private:
void pumpTokenizer();
void sendTokensToMainThread();
void updateDocument(const String& decodedData);
+ bool updateTokenizerState(const CompactHTMLToken& token);
SegmentedString m_input;
OwnPtr<HTMLToken> m_token;
OwnPtr<HTMLTokenizer> m_tokenizer;
- HTMLTreeBuilderSimulator m_treeBuilderSimulator;
HTMLParserOptions m_options;
WeakPtr<HTMLDocumentParser> m_parser;
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/html/parser/BackgroundHTMLParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698