[webkit-changes] [WebKit/WebKit] b8b9ec: WebCore::DecodedHTMLEntity::span() should use std:...

Commit Queue noreply at github.com
Tue Oct 22 19:40:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b8b9ecf63b674f19004c0cad9aa6c51d60d2aac5
      https://github.com/WebKit/WebKit/commit/b8b9ecf63b674f19004c0cad9aa6c51d60d2aac5
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2024-10-22 (Tue, 22 Oct 2024)

  Changed paths:
    M Source/WebCore/html/parser/HTMLEntityParser.h

  Log Message:
  -----------
  WebCore::DecodedHTMLEntity::span() should use std::span::first()
<https://bugs.webkit.org/show_bug.cgi?id=281919>
<rdar://138431470>

Reviewed by Chris Dumez.

* Source/WebCore/html/parser/HTMLEntityParser.h:
(WebCore::DecodedHTMLEntity::span const):
- Create std::span from std::array, then first() to limit length.

Canonical link: https://commits.webkit.org/285583@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