From 20a73721de2f1a8a0b29905617783148bd3cfaff Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Fri, 1 Dec 2023 13:48:22 +0100 Subject: [PATCH] Remove a comment that is no longer valid (#30806) The update of `max_block_size` here no longer happens. --- components/layout_2020/flow/inline.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/layout_2020/flow/inline.rs b/components/layout_2020/flow/inline.rs index 552b01b6331..83856afa7c7 100644 --- a/components/layout_2020/flow/inline.rs +++ b/components/layout_2020/flow/inline.rs @@ -2025,8 +2025,6 @@ impl TextRunLineItem { } fn layout(self, state: &mut LineItemLayoutState) -> Option { - // This happens after updating the `max_block_size`, because even trimmed newlines - // should affect the height of the line. if self.text.is_empty() { return None; }