[webkit-changes] [WebKit/WebKit] b0645e: Update scanAttributeName::scanAttributeName() to r...

Chris Dumez noreply at github.com
Tue Apr 18 11:51:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b0645e5bf6882e7c9b1f7420c2175a8611f8eec3
      https://github.com/WebKit/WebKit/commit/b0645e5bf6882e7c9b1f7420c2175a8611f8eec3
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

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

  Log Message:
  -----------
  Update scanAttributeName::scanAttributeName() to return a QualifiedName
https://bugs.webkit.org/show_bug.cgi?id=255604

Reviewed by Darin Adler.

Update scanAttributeName::scanAttributeName() to return a QualifiedName instead
of a `Span<const CharacterType>`. This simplifies the code a bit and is
performance-neutral on Speedometer.

* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::scanAttributeName):
(WebCore::HTMLFastPathParser::parseAttributes):

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




More information about the webkit-changes mailing list