mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
RareFlowFlags -> ~RareFlowFlags
This commit is contained in:
parent
baad6e3963
commit
4133982050
4 changed files with 19 additions and 16 deletions
|
@ -640,12 +640,13 @@ impl Flow for InlineFlow {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME(ksh8281) avoid copy
|
||||
let flags_info = self.base.flags_info.clone();
|
||||
for kid in self.base.child_iter() {
|
||||
let child_base = flow::mut_base(*kid);
|
||||
child_base.position.size.width = self.base.position.size.width;
|
||||
child_base.flags_info.flags.set_inorder(self.base.flags_info.flags.inorder());
|
||||
// FIXME(ksh8281) avoid copy
|
||||
child_base.flags_info.propagate_text_alignment_from_parent(self.base.flags_info)
|
||||
child_base.flags_info.propagate_text_alignment_from_parent(&flags_info)
|
||||
}
|
||||
// There are no child contexts, so stop here.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue