Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 86235681dd54e9723d90a56cf1f5bfbdb5a94cf9
https://github.com/WebKit/WebKit/commit/86235681dd54e9723d90a56cf1f5bfbdb5a94cf9
Author: Claudio Saavedra <[email protected]>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M Source/WebKit/Shared/glib/ArgumentCodersGLib.cpp
M Source/WebKit/Shared/glib/ArgumentCodersGLib.h
Log Message:
-----------
[GLIB] Simplify the GTlsCertificate argument coders
https://bugs.webkit.org/show_bug.cgi?id=273677
Reviewed by Michael Catanzaro.
Instead of handcoding the certificate chain, use a Vector directly, which
has coding support already. Similarly, instead of handcoding GByteArray structs
in a handful of different places, add an argument coder for GByteArray and use
it
where needed.
* Source/WebKit/Shared/glib/ArgumentCodersGLib.cpp:
(IPC::ArgumentCoder<GRefPtr<GByteArray>>::encode):
(IPC::ArgumentCoder<GRefPtr<GByteArray>>::decode):
(IPC::ArgumentCoder<GRefPtr<GTlsCertificate>>::encode):
(IPC::ArgumentCoder<GRefPtr<GTlsCertificate>>::decode):
* Source/WebKit/Shared/glib/ArgumentCodersGLib.h:
Canonical link: https://commits.webkit.org/278316@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes