Index: Source/core/html/parser/HTMLTokenizer.cpp |
diff --git a/Source/core/html/parser/HTMLTokenizer.cpp b/Source/core/html/parser/HTMLTokenizer.cpp |
index 671eef745fb780f36f6b4905af39f8cccfbb7014..c78cd5929413f062c99f68cc42b2061b25cfae01 100644 |
--- a/Source/core/html/parser/HTMLTokenizer.cpp |
+++ b/Source/core/html/parser/HTMLTokenizer.cpp |
@@ -1072,9 +1072,9 @@ bool HTMLTokenizer::nextToken(SegmentedString& source, HTMLToken& token) |
END_STATE() |
HTML_BEGIN_STATE(MarkupDeclarationOpenState) { |
- DEFINE_STATIC_LOCAL(String, dashDashString, (ASCIILiteral("--"))); |
- DEFINE_STATIC_LOCAL(String, doctypeString, (ASCIILiteral("doctype"))); |
- DEFINE_STATIC_LOCAL(String, cdataString, (ASCIILiteral("[CDATA["))); |
+ DEFINE_STATIC_LOCAL(String, dashDashString, ("--")); |
+ DEFINE_STATIC_LOCAL(String, doctypeString, ("doctype")); |
+ DEFINE_STATIC_LOCAL(String, cdataString, ("[CDATA[")); |
if (cc == '-') { |
SegmentedString::LookAheadResult result = source.lookAhead(dashDashString); |
if (result == SegmentedString::DidMatch) { |
@@ -1275,8 +1275,8 @@ bool HTMLTokenizer::nextToken(SegmentedString& source, HTMLToken& token) |
m_token->setForceQuirks(); |
return emitAndReconsumeIn(source, HTMLTokenizer::DataState); |
} else { |
- DEFINE_STATIC_LOCAL(String, publicString, (ASCIILiteral("public"))); |
- DEFINE_STATIC_LOCAL(String, systemString, (ASCIILiteral("system"))); |
+ DEFINE_STATIC_LOCAL(String, publicString, ("public")); |
+ DEFINE_STATIC_LOCAL(String, systemString, ("system")); |
if (cc == 'P' || cc == 'p') { |
SegmentedString::LookAheadResult result = source.lookAheadIgnoringCase(publicString); |
if (result == SegmentedString::DidMatch) { |