mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Clean up bit clearing.
This commit is contained in:
parent
3c42792efa
commit
994074fca6
3 changed files with 8 additions and 9 deletions
|
@ -878,11 +878,8 @@ where
|
|||
}
|
||||
}
|
||||
}
|
||||
if p == root {
|
||||
// Make sure not to clear NODE_NEEDS_FRAME on the root.
|
||||
p.clear_descendants_bits();
|
||||
} else {
|
||||
p.clear_dirty_bits();
|
||||
}
|
||||
}
|
||||
|
||||
// Make sure not to clear NODE_NEEDS_FRAME on the root.
|
||||
root.clear_descendant_bits();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue