Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a50c194e77c113a8d63da3b86444b5d8ec246d84
https://github.com/WebKit/WebKit/commit/a50c194e77c113a8d63da3b86444b5d8ec246d84
Author: Claudio Saavedra <[email protected]>
Date: 2026-08-21 (Fri, 21 Aug 2026)
Changed paths:
M Source/WebKit/PlatformGTK.cmake
M Source/WebKit/PlatformWPE.cmake
M Source/WebKit/Scripts/webkit/opaque_ipc_types.tracking.in
M Source/WebKit/Shared/glib/ArgumentCodersGLib.cpp
M Source/WebKit/Shared/glib/ArgumentCodersGLib.h
A Source/WebKit/Shared/glib/CoreIPCGByteArray.cpp
A Source/WebKit/Shared/glib/CoreIPCGByteArray.h
A Source/WebKit/Shared/glib/CoreIPCGByteArray.serialization.in
M Source/WebKit/SourcesGTK.txt
M Source/WebKit/SourcesWPE.txt
Log Message:
-----------
[GLIB] Use GRefPtrWrapped for the GByteArray IPC serializer
https://bugs.webkit.org/show_bug.cgi?id=322162
Reviewed by Carlos Garcia Campos.
Migrate ArgumentCoder<GRefPtr<GByteArray>> to a generated serializer
using GRefPtrWrapped, as 319460@main did for GVariant. The wire format is
unchanged. Its only user, the GTlsCertificate coder, now picks up the
generated coder from GeneratedSerializers.h.
* Source/WebKit/PlatformGTK.cmake:
* Source/WebKit/PlatformWPE.cmake:
* Source/WebKit/Scripts/webkit/opaque_ipc_types.tracking.in:
* Source/WebKit/Shared/glib/ArgumentCodersGLib.cpp:
(IPC::ArgumentCoder<GRefPtr<GByteArray>>::encode): Deleted.
(IPC::ArgumentCoder<GRefPtr<GByteArray>>::decode): Deleted.
* Source/WebKit/Shared/glib/ArgumentCodersGLib.h:
* Source/WebKit/Shared/glib/CoreIPCGByteArray.cpp: Copied from
Source/WebKit/Shared/glib/ArgumentCodersGLib.h.
(WebKit::CoreIPCGByteArray::CoreIPCGByteArray):
(WebKit::CoreIPCGByteArray::data const):
(WebKit::CoreIPCGByteArray::operator GRefPtr<GByteArray> const):
* Source/WebKit/Shared/glib/CoreIPCGByteArray.h: Copied from
Source/WebKit/Shared/glib/ArgumentCodersGLib.h.
* Source/WebKit/Shared/glib/CoreIPCGByteArray.serialization.in: Added.
* Source/WebKit/SourcesGTK.txt:
* Source/WebKit/SourcesWPE.txt:
Canonical link: https://commits.webkit.org/319594@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications