[webkit-changes] [WebKit/WebKit] de7f3c: Generate CGColorSpace serialization

Commit Queue noreply at github.com
Tue Feb 6 18:43:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: de7f3c388e2a3233288ed91076b2ffc2404fb19c
      https://github.com/WebKit/WebKit/commit/de7f3c388e2a3233288ed91076b2ffc2404fb19c
  Author: Pascoe <pascoe at apple.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/Shared/cf/ArgumentCodersCF.cpp
    M Source/WebKit/Shared/cf/ArgumentCodersCF.h
    M Source/WebKit/Shared/cf/CFTypes.serialization.in
    A Source/WebKit/Shared/cf/CoreIPCCGColorSpace.h
    A Source/WebKit/Shared/cf/CoreIPCCGColorSpace.serialization.in
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm

  Log Message:
  -----------
  Generate CGColorSpace serialization
https://bugs.webkit.org/show_bug.cgi?id=268318
rdar://121873837

Reviewed by Brady Eidson.

Start using generated serialization for CGColorSpace instead of hand-rolled serializers.

* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/Shared/cf/ArgumentCodersCF.cpp:
(IPC::ArgumentCoder<CGColorSpaceRef>::encode): Deleted.
(IPC::ArgumentCoder<RetainPtr<CGColorSpaceRef>>::decode): Deleted.
* Source/WebKit/Shared/cf/ArgumentCodersCF.h:
* Source/WebKit/Shared/cf/CFTypes.serialization.in:
* Source/WebKit/Shared/cf/CoreIPCCGColorSpace.h: Added.
(WebKit::CoreIPCCGColorSpace::CoreIPCCGColorSpace):
(WebKit::CoreIPCCGColorSpace::toCF const):
* Source/WebKit/Shared/cf/CoreIPCCGColorSpace.serialization.in: Copied from Source/WebKit/Shared/cf/CFTypes.serialization.in.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm:
(TEST):

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




More information about the webkit-changes mailing list