diff options
author | Martin Robinson <mrobinson@igalia.com> | 2020-01-20 13:54:23 +0100 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2020-01-21 15:29:23 +0100 |
commit | 27e04008918acb939eeef74e1eb535d564b5f692 (patch) | |
tree | 589c9142979a290356ff050723c43a5393303264 /components/script/task_manager.rs | |
parent | 8825d588c14ba6a72fdad4ec5ae67c7b4397daf1 (diff) | |
download | servo-27e04008918acb939eeef74e1eb535d564b5f692.tar.gz servo-27e04008918acb939eeef74e1eb535d564b5f692.zip |
Fix an issue with `unset_boxes_in_subtree` in layout_2020
If the root node of the subtree doesn't have any boxes to unset, we
should exit early instead of unsetting boxes on siblings of the root.
This eliminates an infinite loop in this method, since the siblings of
the root are not in the subtree.
Diffstat (limited to 'components/script/task_manager.rs')
0 files changed, 0 insertions, 0 deletions