| 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 aed7c04786b5869edef8532d3a3c47beb6dcc1e1..fa13ba22a95e839b467509308b53707728bbf282 100644
|
| --- a/sky/engine/core/html/parser/BackgroundHTMLParser.h
|
| +++ b/sky/engine/core/html/parser/BackgroundHTMLParser.h
|
| @@ -66,7 +66,14 @@ private:
|
| void markEndOfFile();
|
| void pumpTokenizer();
|
| void sendTokensToMainThread();
|
| - bool updateTokenizerState(const CompactHTMLToken& token);
|
| +
|
| + enum ContinueBehavior {
|
| + ContinueParsing,
|
| + SendTokensIncludingLast,
|
| + SendTokensExceptingLast,
|
| + };
|
| +
|
| + ContinueBehavior updateTokenizerState(const CompactHTMLToken& token);
|
|
|
| enum State {
|
| InitialState,
|
|
|