mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Clear reflow flags after reflow.
This commit is contained in:
parent
a6f0159cb8
commit
5cd47c7670
3 changed files with 43 additions and 18 deletions
|
@ -599,6 +599,10 @@ impl Descendants {
|
|||
self.descendant_links.len()
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.descendant_links.is_empty()
|
||||
}
|
||||
|
||||
pub fn push(&mut self, given_descendant: FlowRef) {
|
||||
self.descendant_links.push(given_descendant);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue