Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 836a24278f037486c21895cbdb42436a864adb8b
      
https://github.com/WebKit/WebKit/commit/836a24278f037486c21895cbdb42436a864adb8b
  Author: Gavin Phillips <[email protected]>
  Date:   2025-11-10 (Mon, 10 Nov 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:
  -----------
  Relanding: 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)):
(TEST(CoreIPCCFDictionary, InsertDifferentValueTypes)):
(TEST(CoreIPCCFDictionary, InsertDifferentKeyTypes)):

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



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

Reply via email to