[webkit-changes] [WebKit/WebKit] ddd148: Some of HTMLFastPathParser's member functions can ...

Chris Dumez noreply at github.com
Thu Feb 16 22:47:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ddd1481f565d39dbd15413c9d39512603676d742
      https://github.com/WebKit/WebKit/commit/ddd1481f565d39dbd15413c9d39512603676d742
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

  Changed paths:
    M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp

  Log Message:
  -----------
  Some of HTMLFastPathParser's member functions can be static
https://bugs.webkit.org/show_bug.cgi?id=252455

Reviewed by Yusuke Suzuki.

Some of HTMLFastPathParser's member functions can be static as they don't use
any of the data members.

* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::isQuoteCharacter):
(WebCore::isValidUnquotedAttributeValueChar):
(WebCore::isValidAttributeNameChar):
(WebCore::isCharAfterTagNameOrAttribute):
(WebCore::isCharAfterUnquotedAttribute):
(WebCore::HTMLFastPathParser::isValidAttributeNameChar): Deleted.
(WebCore::HTMLFastPathParser::isCharAfterTagNameOrAttribute): Deleted.
(WebCore::HTMLFastPathParser::isCharAfterUnquotedAttribute): Deleted.

Canonical link: https://commits.webkit.org/260427@main




More information about the webkit-changes mailing list