[webkit-changes] [WebKit/WebKit] 09e9d1: Expose subclasses of serialized abstract classes t...
Alex Christensen
noreply at github.com
Wed Feb 22 16:34:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 09e9d1b97f8905f8d052473728aad34d6fd67264
https://github.com/WebKit/WebKit/commit/09e9d1b97f8905f8d052473728aad34d6fd67264
Author: Alex Christensen <achristensen at apple.com>
Date: 2023-02-22 (Wed, 22 Feb 2023)
Changed paths:
M Source/WebKit/Platform/IPC/ArgumentCoders.h
M Source/WebKit/Scripts/generate-serializers.py
M Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp
M Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp
Log Message:
-----------
Expose subclasses of serialized abstract classes to IPC test API as a std::variant
https://bugs.webkit.org/show_bug.cgi?id=252690
rdar://105743470
Reviewed by Geoffrey Garen.
IPC sees the two identically. Also reduce the size of the variant index to 1 byte and assert that that is enough.
* Source/WebKit/Platform/IPC/ArgumentCoders.h:
* Source/WebKit/Scripts/generate-serializers.py:
(generate_impl):
(generate_serialized_type_info):
* Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp:
(WTF::void>):
* Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp:
(WebKit::allSerializedTypes):
Canonical link: https://commits.webkit.org/260710@main
More information about the webkit-changes
mailing list