diff options
Diffstat (limited to 'components/layout/incremental.rs')
-rw-r--r-- | components/layout/incremental.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/layout/incremental.rs b/components/layout/incremental.rs index 9d989c7b65a..f9fda729cfe 100644 --- a/components/layout/incremental.rs +++ b/components/layout/incremental.rs @@ -210,7 +210,10 @@ impl<'a> LayoutDamageComputation for &'a mut (Flow + 'a) { .insert(self_base.restyle_damage.damage_for_child( is_absolutely_positioned, child_is_absolutely_positioned)); - special_damage.insert(kid.compute_layout_damage()); + { + let kid: &mut Flow = kid; + special_damage.insert(kid.compute_layout_damage()); + } self_base.restyle_damage .insert(flow::base(kid).restyle_damage.damage_for_parent( child_is_absolutely_positioned)); |