diff options
author | Keegan McAllister <kmcallister@mozilla.com> | 2013-12-10 13:11:13 -0800 |
---|---|---|
committer | Keegan McAllister <kmcallister@mozilla.com> | 2013-12-12 11:52:35 -0800 |
commit | c3c87e3d44d8e57ee0035ead33b575372fafc33f (patch) | |
tree | d849881cfd9d95a52ee95b9988f3f05f3d6f95c8 | |
parent | 6679baadef11b4253d6feefe8b2369adfe58a0b3 (diff) | |
download | servo-c3c87e3d44d8e57ee0035ead33b575372fafc33f.tar.gz servo-c3c87e3d44d8e57ee0035ead33b575372fafc33f.zip |
Propagate up the right bits of style damage
The call to propagate_up was lost in eb1b40db13a13c27269c57bad60433e0597bbbeb.
-rw-r--r-- | src/components/main/layout/layout_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/layout_task.rs b/src/components/main/layout/layout_task.rs index 0ccdcfd5db0..0909cbf74df 100644 --- a/src/components/main/layout/layout_task.rs +++ b/src/components/main/layout/layout_task.rs @@ -100,7 +100,7 @@ impl PostorderFlowTraversal for ComputeDamageTraversal { fn process(&mut self, flow: &mut Flow) -> bool { let mut damage = flow::base(flow).restyle_damage; for child in flow::child_iter(flow) { - damage.union_in_place(flow::base(*child).restyle_damage) + damage.union_in_place(flow::base(*child).restyle_damage.propagate_up()) } flow::mut_base(flow).restyle_damage = damage; true |