mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
layout: Fix merge fallout.
This commit is contained in:
parent
2fa2a3b5a9
commit
930dfbb7ad
5 changed files with 18 additions and 14 deletions
|
@ -1215,9 +1215,12 @@ impl<'a> ImmutableFlowUtils for &'a Flow {
|
|||
},
|
||||
FlowClass::Flex => {
|
||||
let fragment =
|
||||
Fragment::new_anonymous_from_specific_info(node,
|
||||
SpecificFragmentInfo::Generic);
|
||||
box BlockFlow::from_fragment(fragment, None) as Box<Flow>
|
||||
Fragment::from_opaque_node_and_style(node.opaque(),
|
||||
PseudoElementType::Normal,
|
||||
style,
|
||||
node.restyle_damage(),
|
||||
SpecificFragmentInfo::Generic);
|
||||
Arc::new(BlockFlow::from_fragment(fragment, None))
|
||||
},
|
||||
_ => {
|
||||
panic!("no need to generate a missing child")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue