diff options
author | Clark Gaebel <cgaebel@mozilla.com> | 2014-10-20 12:49:39 -0700 |
---|---|---|
committer | Clark Gaebel <cgaebel@mozilla.com> | 2014-10-22 17:46:28 -0700 |
commit | 5cd47c76700c10b7ee7b1454d941190f70ec1aab (patch) | |
tree | 9144c3c347e2530ffccd8dafd11517131168aa8c /components/layout/flow.rs | |
parent | a6f0159cb85e3b84a826c41ae5ad1b6aea09d7cc (diff) | |
download | servo-5cd47c76700c10b7ee7b1454d941190f70ec1aab.tar.gz servo-5cd47c76700c10b7ee7b1454d941190f70ec1aab.zip |
Clear reflow flags after reflow.
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r-- | components/layout/flow.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs index 38ee01b3c96..81f06de9094 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -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); } |