[webkit-changes] [WebKit/WebKit] 6b051c: Generate IPC serialization for enumerations under ...
Žan Doberšek
noreply at github.com
Sat Nov 11 10:28:33 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6b051cebfd814c82ce3f264fb2b3d96c4d42f964
https://github.com/WebKit/WebKit/commit/6b051cebfd814c82ce3f264fb2b3d96c4d42f964
Author: Žan Doberšek <zdobersek at igalia.com>
Date: 2023-11-11 (Sat, 11 Nov 2023)
Changed paths:
M Source/WebCore/Modules/applepay/ApplePayLaterAvailability.h
M Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h
M Source/WebCore/Modules/applepay/ApplePayShippingContactEditingMode.h
M Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in
Log Message:
-----------
Generate IPC serialization for enumerations under WebCore/applepay/
https://bugs.webkit.org/show_bug.cgi?id=264408
Reviewed by Chris Dumez.
Move ApplePaySessionPaymentRequest::ShippingType enumeration outside the
ApplePaySessionPaymentRequest class scope and specify its underlying type alias
uint8_t, providing a type alias inside that class.
This allows specifying IPC serialization for this enumeration as well as the
ApplePayLaterAvailability and ApplePayShippingContactEditingMode enumerations,
enabling removal of the now-redundant EnumTraits specializations.
* Source/WebCore/Modules/applepay/ApplePayLaterAvailability.h:
* Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h:
* Source/WebCore/Modules/applepay/ApplePayShippingContactEditingMode.h:
* Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in:
Canonical link: https://commits.webkit.org/270596@main
More information about the webkit-changes
mailing list