aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/construct.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-12-04 14:18:25 +0100
committerSimon Sapin <simon.sapin@exyr.org>2019-12-04 14:22:13 +0100
commit6763e7e4aea076015e30223fb35731fd7826c0a2 (patch)
treea0ec2fb80c99623326857fbc27bec5f95f7eb661 /components/layout_2020/flow/construct.rs
parent607df04849407ba08ace0f987baf2d5f75de466c (diff)
downloadservo-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.rs3
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