Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 711eab3243f081e0cc07d349e1c9b98033482d16
      
https://github.com/WebKit/WebKit/commit/711eab3243f081e0cc07d349e1c9b98033482d16
  Author: Darin Adler <[email protected]>
  Date:   2025-09-27 (Sat, 27 Sep 2025)

  Changed paths:
    M Source/JavaScriptCore/heap/HeapSnapshotBuilder.cpp
    M Source/WTF/wtf/HexNumber.cpp
    M Source/WTF/wtf/HexNumber.h
    M Source/WebCore/Modules/url-pattern/URLPatternParser.cpp

  Log Message:
  -----------
  Simplify some character-related code to ease future changes to Latin1Character
https://bugs.webkit.org/show_bug.cgi?id=299671
rdar://161487282

Reviewed by Sam Weinig.

* Source/JavaScriptCore/heap/HeapSnapshotBuilder.cpp:
(JSC::edgeTypeToNumber): Deleted.
(JSC::HeapSnapshotBuilder::json): Remove call to edgeTypeToNumber function so 
we can
serialize the edge type enumeration as a number. It's not needed because 
serialization
done by StringBuilder::append already serializes enumerations as their 
underlying=
numeric values.

* Source/WTF/wtf/HexNumber.cpp:
(WTF::Internal::hexDigitsForMode): Moved this function out of the header since 
it's
only used in this file.
* Source/WTF/wtf/HexNumber.h:
(WTF::Internal::hexDigitsForMode): Deleted.

* Source/WebCore/Modules/url-pattern/URLPatternParser.cpp:
(WebCore::URLPatternUtilities::escapeRegexStringForCharacters): Use an array of
CharacterType rather than an array of char.
(WebCore::URLPatternUtilities::escapePatternStringForCharacters): Ditto.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to