mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
LibWeb: Add DeserializationMemory parameter to deserialization_steps()
We want to bring with us the value of DeserializationMemory to Serializable::deserialization_steps() when doing sub serialization.
This commit is contained in:
committed by
Andreas Kling
parent
4669c1ba31
commit
31f345fcb0
@@ -949,7 +949,7 @@ public:
|
||||
else {
|
||||
// 1. Perform the appropriate deserialization steps for the interface identified by serialized.[[Type]], given serialized, value, and targetRealm.
|
||||
auto& serializable = dynamic_cast<Bindings::Serializable&>(value.as_object());
|
||||
TRY(serializable.deserialization_steps(m_serialized, m_position));
|
||||
TRY(serializable.deserialization_steps(m_serialized, m_position, m_memory));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user