mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:25:10 +00:00
LibWeb: Conditionally update an object's children when its state changes
We should only update the object children of an object when the parent's representation changes to/from falling back to its children.
This commit is contained in:
parent
f11d6e137c
commit
a002c8156b
2 changed files with 17 additions and 17 deletions
|
@ -50,11 +50,11 @@ private:
|
|||
|
||||
void queue_element_task_to_run_object_representation_steps();
|
||||
void run_object_representation_handler_steps(Optional<String> resource_type);
|
||||
void run_object_representation_completed_steps();
|
||||
void run_object_representation_completed_steps(Representation);
|
||||
void run_object_representation_fallback_steps();
|
||||
|
||||
void convert_resource_to_image();
|
||||
void update_layout_and_child_objects();
|
||||
void update_layout_and_child_objects(Representation);
|
||||
|
||||
// ^ResourceClient
|
||||
virtual void resource_did_load() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue