aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flexbox/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_2020/flexbox/layout.rs')
-rw-r--r--components/layout_2020/flexbox/layout.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/components/layout_2020/flexbox/layout.rs b/components/layout_2020/flexbox/layout.rs
index 9e705e5e5d3..668477cbd32 100644
--- a/components/layout_2020/flexbox/layout.rs
+++ b/components/layout_2020/flexbox/layout.rs
@@ -1987,8 +1987,11 @@ impl FlexItem<'_> {
}
}
- let fragments = replaced
- .make_fragments(item_style, size.to_physical_size(container_writing_mode));
+ let fragments = replaced.make_fragments(
+ flex_context.layout_context,
+ item_style,
+ size.to_physical_size(container_writing_mode),
+ );
Some(FlexItemLayoutResult {
hypothetical_cross_size,