diff options
Diffstat (limited to 'components/layout_2020/formatting_contexts.rs')
-rw-r--r-- | components/layout_2020/formatting_contexts.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout_2020/formatting_contexts.rs b/components/layout_2020/formatting_contexts.rs index 573e9100cec..94b1cb0523a 100644 --- a/components/layout_2020/formatting_contexts.rs +++ b/components/layout_2020/formatting_contexts.rs @@ -219,7 +219,7 @@ impl IndependentFormattingContext { } impl IndependentNonReplacedContents { - pub fn layout( + pub(crate) fn layout_without_caching( &self, layout_context: &LayoutContext, positioning_context: &mut PositioningContext, @@ -265,7 +265,7 @@ impl IndependentNonReplacedContents { level = "trace", ) )] - pub fn layout_with_caching( + pub fn layout( &self, layout_context: &LayoutContext, positioning_context: &mut PositioningContext, @@ -297,7 +297,7 @@ impl IndependentNonReplacedContents { positioning_context.collects_for_nearest_positioned_ancestor(), ); - let result = self.layout( + let result = self.layout_without_caching( layout_context, &mut child_positioning_context, containing_block_for_children, |