diff options
Diffstat (limited to 'components/layout_2020/flow/construct.rs')
-rw-r--r-- | components/layout_2020/flow/construct.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/layout_2020/flow/construct.rs b/components/layout_2020/flow/construct.rs index 666a39d2932..7d72209c6e8 100644 --- a/components/layout_2020/flow/construct.rs +++ b/components/layout_2020/flow/construct.rs @@ -723,7 +723,7 @@ where max_assign_in_flow_outer_content_sizes_to.is_some() && !info.style.inline_size_is_length(), ); - let contents = IndependentFormattingContext::construct( + let context = IndependentFormattingContext::construct( context, info, display_inside, @@ -733,13 +733,13 @@ where ); if let Some(to) = max_assign_in_flow_outer_content_sizes_to { to.max_assign(&sizing::outer_inline( - &contents.style, + &context.style(), not_actually_containing_block_writing_mode, - || contents.content_sizes.expect_inline().clone(), + || context.content_sizes(), )) } ( - ArcRefCell::new(BlockLevelBox::Independent(contents)), + ArcRefCell::new(BlockLevelBox::Independent(context)), ContainsFloats::No, ) }, |