Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 349ea5cbfb91aee026f397acb9200096b58bccd8
      
https://github.com/WebKit/WebKit/commit/349ea5cbfb91aee026f397acb9200096b58bccd8
  Author: Chris Dumez <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to