-
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 ObjectIdentifierReference and ObjectIdentifierWriteReference #23452
Generate Serialization for ObjectIdentifierReference and ObjectIdentifierWriteReference #23452
Conversation
EWS run on previous version of this PR (hash 7890222) |
7890222
to
0b65cce
Compare
EWS run on previous version of this PR (hash 0b65cce) |
0b65cce
to
4ca02db
Compare
EWS run on previous version of this PR (hash 4ca02db) |
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.
Could you add to Source/WebKit/Scripts/webkit/tests/TestSerializedType.serialization.in then run "make -C Source/WebKit/Scripts/webkit/tests" to show what the changes to the python do to the generated C++?
@@ -3,7 +3,7 @@ | |||
archiveVersion = 1; | |||
classes = { | |||
}; | |||
objectVersion = 54; | |||
objectVersion = 55; |
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.
This change should probably be reverted.
private: | ||
friend struct IPC::ArgumentCoder<ObjectIdentifierReference, void>; |
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.
This is probably not necessary because there are accessors for the identifier and version.
private: | ||
friend struct IPC::ArgumentCoder<ObjectIdentifierWriteReference, void>; |
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.
Ditto. Use public accessors.
4ca02db
to
9f0870e
Compare
EWS run on previous version of this PR (hash 9f0870e) |
9f0870e
to
e6ab7ba
Compare
EWS run on previous version of this PR (hash e6ab7ba) |
e6ab7ba
to
50bf113
Compare
EWS run on current version of this PR (hash 50bf113) |
Failed ios-wk2-wpt, mac-AS-debug-wk2 checks. Please resolve failures and re-apply Rejecting #23452 from merge queue. |
Safe-Merge-Queue: Build #10688. |
…fierWriteReference https://bugs.webkit.org/show_bug.cgi?id=268322 rdar://121877374 Reviewed by Alex Christensen. * Source/WebKit/CMakeLists.txt: * Source/WebKit/DerivedSources-input.xcfilelist: * Source/WebKit/DerivedSources.make: * Source/WebKit/Platform/IPC/ObjectIdentifierReference.serialization.in: Added. * Source/WebKit/Platform/IPC/ObjectIdentifierReferenceTracker.h: (IPC::ObjectIdentifierReference::isHashTableDeletedValue const): (IPC::ObjectIdentifierReference::encode const): Deleted. (IPC::ObjectIdentifierReference::decode): Deleted. (IPC::ObjectIdentifierWriteReference::encode const): Deleted. (IPC::ObjectIdentifierWriteReference::decode): Deleted. * Source/WebKit/Scripts/generate-serializers.py: (get_alias_namespace): (generate_forward_declarations): (parse_serialized_types): (main): * Source/WebKit/Shared/WTFArgumentCoders.serialization.in: * Source/WebKit/WebKit.xcodeproj/project.pbxproj: * Tools/TestWebKitAPI/Tests/IPC/ThreadSafeObjectHeapTests.cpp: Canonical link: https://commits.webkit.org/273849@main
50bf113
to
641bc81
Compare
Committed 273849@main (641bc81): https://commits.webkit.org/273849@main Reviewed commits have been landed. Closing PR #23452 and removing active labels. |
641bc81
50bf113