1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

LibWeb: Add SerializationMemory parameter to serialization_steps()

We want to bring with us the value of SerializationMemory to
Serializable::serialization_steps() when doing sub serialization.
This commit is contained in:
Kenneth Myhra 2024-03-10 19:13:45 +01:00 committed by Andreas Kling
parent 924423c596
commit 4669c1ba31
Notes: sideshowbarker 2024-07-16 22:14:49 +09:00
12 changed files with 12 additions and 12 deletions

View file

@ -32,7 +32,7 @@ public:
virtual StringView interface_name() const override { return "File"sv; }
virtual WebIDL::ExceptionOr<void> serialization_steps(HTML::SerializationRecord& record, bool for_storage) override;
virtual WebIDL::ExceptionOr<void> serialization_steps(HTML::SerializationRecord& record, bool for_storage, HTML::SerializationMemory&) override;
virtual WebIDL::ExceptionOr<void> deserialization_steps(ReadonlySpan<u32> const&, size_t& position) override;
private: