[webkit-changes] [WebKit/WebKit] 7f78e4: Add IPC for SkData

Don Olmstead noreply at github.com
Wed May 8 16:02:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7f78e4799e9778e292febfbab858754745c580ac
      https://github.com/WebKit/WebKit/commit/7f78e4799e9778e292febfbab858754745c580ac
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2024-05-08 (Wed, 08 May 2024)

  Changed paths:
    M Source/WebKit/Platform/Skia.cmake
    M Source/WebKit/Shared/WebCoreArgumentCoders.h
    A Source/WebKit/Shared/skia/CoreIPCSkData.h
    A Source/WebKit/Shared/skia/CoreIPCSkData.serialization.in
    M Source/WebKit/Shared/skia/WebCoreArgumentCodersSkia.cpp

  Log Message:
  -----------
  Add IPC for SkData
https://bugs.webkit.org/show_bug.cgi?id=273890

Reviewed by Alex Christensen.

Add a wrapper of `SkData` for serialization over IPC.

* Source/WebKit/Platform/Skia.cmake:
* Source/WebKit/Shared/WebCoreArgumentCoders.h:
* Source/WebKit/Shared/skia/CoreIPCSkData.h: Added.
(WebKit::CoreIPCSkData::CoreIPCSkData):
(WebKit::CoreIPCSkData::skData const):
(WebKit::CoreIPCSkData::dataReference const):
* Source/WebKit/Shared/skia/CoreIPCSkData.serialization.in: Added.
* Source/WebKit/Shared/skia/WebCoreArgumentCodersSkia.cpp:
(IPC::ArgumentCoder<sk_sp<SkData>>::encode):
(IPC::ArgumentCoder<sk_sp<SkData>>::decode):

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