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

Unified Diff: sky/engine/core/html/parser/CompactHTMLToken.cpp

Issue 682893002: Parse comments according to parsing.md (Closed) Base URL: git@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/html/parser/AtomicHTMLToken.h ('k') | sky/engine/core/html/parser/HTMLToken.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/parser/CompactHTMLToken.cpp
diff --git a/sky/engine/core/html/parser/CompactHTMLToken.cpp b/sky/engine/core/html/parser/CompactHTMLToken.cpp
index 46b4a5740d5e089b3a1ae84f0122e89b541eb0e0..b4ec1c19b00dd624eac689d1ca46fdc32398e539 100644
--- a/sky/engine/core/html/parser/CompactHTMLToken.cpp
+++ b/sky/engine/core/html/parser/CompactHTMLToken.cpp
@@ -59,7 +59,6 @@ CompactHTMLToken::CompactHTMLToken(const HTMLToken* token, const TextPosition& t
case HTMLToken::EndTag:
m_selfClosing = token->selfClosing();
// Fall through!
- case HTMLToken::Comment:
case HTMLToken::Character: {
m_isAll8BitData = token->isAll8BitData();
m_data = attemptStaticStringCreation(token->data(), token->isAll8BitData() ? Force8Bit : Force16Bit);
« no previous file with comments | « sky/engine/core/html/parser/AtomicHTMLToken.h ('k') | sky/engine/core/html/parser/HTMLToken.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698