| Index: sky/engine/core/html/parser/HTMLTokenizer.h
|
| diff --git a/sky/engine/core/html/parser/HTMLTokenizer.h b/sky/engine/core/html/parser/HTMLTokenizer.h
|
| index a22cf50df65ecf530b9d1f0b6ea2b889945ebcdc..bc8c48af0de10c2f6c4ed5ebc4ccd58298d04e5f 100644
|
| --- a/sky/engine/core/html/parser/HTMLTokenizer.h
|
| +++ b/sky/engine/core/html/parser/HTMLTokenizer.h
|
| @@ -49,7 +49,7 @@ public:
|
| CharacterReferenceInAttributeValueState,
|
| RAWTEXTState,
|
| TagOpenState,
|
| - EndTagOpenState,
|
| + CloseTagState,
|
| TagNameState,
|
| RAWTEXTLessThanSignState,
|
| RAWTEXTEndTagOpenState,
|
| @@ -63,18 +63,11 @@ public:
|
| AttributeValueUnquotedState,
|
| AfterAttributeValueQuotedState,
|
| SelfClosingStartTagState,
|
| - BogusCommentState,
|
| - // The ContinueBogusCommentState is not in the HTML5 spec, but we use
|
| - // it internally to keep track of whether we've started the bogus
|
| - // comment token yet.
|
| - ContinueBogusCommentState,
|
| - MarkupDeclarationOpenState,
|
| - CommentStartState,
|
| - CommentStartDashState,
|
| + CommentStart1State,
|
| + CommentStart2State,
|
| CommentState,
|
| - CommentEndDashState,
|
| - CommentEndState,
|
| - CommentEndBangState,
|
| + CommentEnd1State,
|
| + CommentEnd2State,
|
| };
|
|
|
| // This function returns true if it emits a token. Otherwise, callers
|
|
|