[webkit-changes] [WebKit/WebKit] cc9907: Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in HTM...

Chris Dumez noreply at github.com
Fri Jan 3 17:02:01 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cc99071ca4378e7894663e97fcbac30458d2063c
      https://github.com/WebKit/WebKit/commit/cc99071ca4378e7894663e97fcbac30458d2063c
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2025-01-03 (Fri, 03 Jan 2025)

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

  Log Message:
  -----------
  Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in HTMLDocumentParserFastPath.cpp
https://bugs.webkit.org/show_bug.cgi?id=285357

Reviewed by Darin Adler.

This tested as performance neutral on Speedometer 3.

* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::scanText):
(WebCore::HTMLFastPathParser::scanTagName):
(WebCore::HTMLFastPathParser::scanAttributeName):
(WebCore::HTMLFastPathParser::scanAttributeValue):
(WebCore::HTMLFastPathParser::scanEscapedAttributeValue):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list