-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate serialization for ScrollingStateFrameHostingNode #19580
Generate serialization for ScrollingStateFrameHostingNode #19580
Conversation
EWS run on previous version of this PR (hash 642ea5d) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I don't have the skillset to be hypercritical of the python changes, but they pass the sniff test and are regression tested, so... π
@@ -69,6 +69,7 @@ void ArgumentCoder<WebKit::PlatformClass>::encode(Encoder& encoder, const WebKit | |||
static_assert(MembersInCorrectOrder < 0 | |||
, offsetof(WebKit::PlatformClass, value) | |||
>::value); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray?
642ea5d
to
c797d7e
Compare
EWS run on current version of this PR (hash c797d7e) |
https://bugs.webkit.org/show_bug.cgi?id=263704 rdar://117513008 Reviewed by Brady Eidson. This required some new constructors, but the interesting part was teaching the code generator how to handle types with OptionalTupleBits and non-OptionalTuple members. * Source/WebCore/page/scrolling/ScrollingStateFrameHostingNode.cpp: (WebCore::ScrollingStateFrameHostingNode::create): (WebCore::ScrollingStateFrameHostingNode::ScrollingStateFrameHostingNode): * Source/WebCore/page/scrolling/ScrollingStateFrameHostingNode.h: * Source/WebCore/page/scrolling/ScrollingStateNode.cpp: (WebCore::ScrollingStateNode::ScrollingStateNode): * Source/WebCore/page/scrolling/ScrollingStateNode.h: * Source/WebKit/Scripts/generate-serializers.py: (SerializedType.has_optional_tuple_bits): (check_type_members): (encode_type): (decode_type): (generate_one_impl): (generate_serialized_type_info): (encode_optional_tuple): Deleted. (decode_optional_tuple): Deleted. * Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp: (IPC::ArgumentCoder<Namespace::Subnamespace::StructName>::encode): (IPC::ArgumentCoder<Namespace::OtherClass>::encode): (IPC::ArgumentCoder<Namespace::ReturnRefClass>::encode): (IPC::ArgumentCoder<Namespace::EmptyConstructorStruct>::encode): (IPC::ArgumentCoder<Namespace::EmptyConstructorWithIf>::encode): (IPC::ArgumentCoder<WithoutNamespace>::encode): (IPC::ArgumentCoder<WithoutNamespaceWithAttributes>::encode): (IPC::ArgumentCoder<WebCore::InheritsFrom>::encode): (IPC::ArgumentCoder<WebCore::InheritanceGrandchild>::encode): (IPC::ArgumentCoder<WTF::Seconds>::encode): (IPC::ArgumentCoder<WTF::CreateUsingClass>::encode): (IPC::ArgumentCoder<WebCore::FloatBoxExtent>::encode): (IPC::ArgumentCoder<SoftLinkedMember>::encode): (IPC::ArgumentCoder<Namespace::ConditionalCommonClass>::encode): (IPC::ArgumentCoder<Namespace::CommonClass>::encode): (IPC::ArgumentCoder<Namespace::AnotherCommonClass>::encode): (IPC::ArgumentCoder<WebCore::MoveOnlyDerivedClass>::encode): (IPC::ArgumentCoder<WebKit::LayerProperties>::encode): (IPC::ArgumentCoder<WebKit::LayerProperties>::decode): (IPC::ArgumentCoder<WebKit::TemplateTest<WebKit::Fabulous>>::encode): (IPC::ArgumentCoder<WebKit::TemplateTest<WebCore::Amazing>>::encode): (IPC::ArgumentCoder<WebKit::TemplateTest<JSC::Incredible>>::encode): (IPC::ArgumentCoder<WebKit::TemplateTest<Testing::StorageSize>>::encode): (IPC::ArgumentCoder<WebCore::ScrollingStateFrameHostingNode>::encode): (IPC::ArgumentCoder<WebCore::ScrollingStateFrameHostingNode>::decode): (IPC::ArgumentCoder<WebCore::ScrollingStateFrameHostingNodeWithStuffAfterTuple>::encode): (IPC::ArgumentCoder<WebCore::ScrollingStateFrameHostingNodeWithStuffAfterTuple>::decode): * Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.h: * Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp: (WebKit::allSerializedTypes): * Source/WebKit/Scripts/webkit/tests/TestSerializedType.serialization.in: * Source/WebKit/Scripts/webkit/tests/WebKitPlatformGeneratedSerializers.cpp: (IPC::ArgumentCoder<WebKit::PlatformClass>::encode): * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTree.serialization.in: * Source/WebKit/Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.cpp: (ArgumentCoder<WebCore::ScrollingStateFrameHostingNode>::encode): Deleted. (ArgumentCoder<WebCore::ScrollingStateFrameHostingNode>::decode): Deleted. * Source/WebKit/Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.h: * Source/WebKit/Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.serialization.in: Canonical link: https://commits.webkit.org/269811@main
c797d7e
to
887ac88
Compare
Committed 269811@main (887ac88): https://commits.webkit.org/269811@main Reviewed commits have been landed. Closing PR #19580 and removing active labels. |
887ac88
c797d7e