Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 233654426e8b5fbefd907fa2376a273ed7f30c37
      
https://github.com/WebKit/WebKit/commit/233654426e8b5fbefd907fa2376a273ed7f30c37
  Author: Gavin Phillips <[email protected]>
  Date:   2025-10-30 (Thu, 30 Oct 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/FontPlatformData.h
    M Source/WebCore/platform/graphics/coretext/FontPlatformDataCoreText.cpp
    M Source/WebKit/Shared/WebCoreFont.serialization.in
    M Source/WebKit/Shared/cf/CFTypes.serialization.in
    M Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm

  Log Message:
  -----------
  Move FontPlatformSerializedAttributes off of using a CFArray for serialization
https://bugs.webkit.org/show_bug.cgi?id=301567
rdar://163561063

Reviewed by Brady Eidson.

Moves FontPlatformSerializedAttributes off of using a CFArray to serialize
it's featureSettings. Instead, we explicitly breakout the featureSettings to
expose it's inner structure. This was the last CFArray being directly 
serialized, so
we also removed the CFArray exposure to our .serialization.in files.

Test: Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm

* Source/WebCore/platform/graphics/FontPlatformData.h:
* Source/WebCore/platform/graphics/coretext/FontPlatformDataCoreText.cpp:
(WebCore::FontPlatformSerializedAttributes::fromCF):
(WebCore::FontPlatformSerializedAttributes::toCFDictionary const):
* Source/WebKit/Shared/WebCoreFont.serialization.in:
* Source/WebKit/Shared/cf/CFTypes.serialization.in:
* Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm:
(cfHolder):
(TEST(IPCSerialization, Basic)):

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



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

Reply via email to