diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-12-04 14:18:25 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-12-04 14:22:13 +0100 |
commit | 6763e7e4aea076015e30223fb35731fd7826c0a2 (patch) | |
tree | a0ec2fb80c99623326857fbc27bec5f95f7eb661 /components/layout_2020/flow/construct.rs | |
parent | 607df04849407ba08ace0f987baf2d5f75de466c (diff) | |
download | servo-6763e7e4aea076015e30223fb35731fd7826c0a2.tar.gz servo-6763e7e4aea076015e30223fb35731fd7826c0a2.zip |
Review nits
Diffstat (limited to 'components/layout_2020/flow/construct.rs')
-rw-r--r-- | components/layout_2020/flow/construct.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/layout_2020/flow/construct.rs b/components/layout_2020/flow/construct.rs index 80f44b2ff81..5d9cd433434 100644 --- a/components/layout_2020/flow/construct.rs +++ b/components/layout_2020/flow/construct.rs @@ -189,14 +189,13 @@ impl BlockContainer { contains_floats: builder.contains_floats, outer_content_sizes_of_children: ContentSizes::zero(), }; - let request_childrens_outer_content_sizes = request_content_sizes; let iter = builder.block_level_boxes.into_par_iter(); let iter = iter.mapfold_reduce_into( &mut target, |target, (intermediate, box_slot): (Intermediate<_>, BoxSlot<'_>)| { let (block_level_box, box_contains_floats) = intermediate.finish( context, - if request_childrens_outer_content_sizes { + if request_content_sizes { Some(&mut target.outer_content_sizes_of_children) } else { None |