[webkit-changes] [WebKit/WebKit] 349ea5: Use ASCIILiteral in HTMLFastPathParser instead of ...
Chris Dumez
noreply at github.com
Fri Feb 17 12:52:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 349ea5cbfb91aee026f397acb9200096b58bccd8
https://github.com/WebKit/WebKit/commit/349ea5cbfb91aee026f397acb9200096b58bccd8
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-02-17 (Fri, 17 Feb 2023)
Changed paths:
M Source/WTF/wtf/text/ASCIILiteral.h
M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp
Log Message:
-----------
Use ASCIILiteral in HTMLFastPathParser instead of const char*
https://bugs.webkit.org/show_bug.cgi?id=252484
Reviewed by Ryosuke Niwa.
We prefer to represent all string literals using ASCIILiteral in WebKit.
* Source/WTF/wtf/text/ASCIILiteral.h:
* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::operator==):
(WebCore::onlyContainsLowercaseASCIILetters):
(WebCore::tagNameHash):
(WebCore::HTMLFastPathParser::parse):
(WebCore::HTMLFastPathParser::scanHTMLCharacterReference):
Canonical link: https://commits.webkit.org/260463@main
More information about the webkit-changes
mailing list