From 9542466b31c46f6866383c023c889e0e7713097a Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Sat, 23 Nov 2024 14:22:40 +1300 Subject: [PATCH] Remove unnecessary clone in layout (#34350) Signed-off-by: Nico Burns --- components/layout_2020/formatting_contexts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/layout_2020/formatting_contexts.rs b/components/layout_2020/formatting_contexts.rs index 494e9859983..4f4eb097d3c 100644 --- a/components/layout_2020/formatting_contexts.rs +++ b/components/layout_2020/formatting_contexts.rs @@ -327,7 +327,7 @@ impl NonReplacedFormattingContext { auto_block_size_stretches_to_containing_block: bool, ) -> InlineContentSizesResult { sizing::outer_inline( - &self.style.clone(), + &self.style, containing_block, auto_minimum, auto_block_size_stretches_to_containing_block,