LibWeb: Remove unused InlineFormattingContext::available_width_at_line()

This commit is contained in:
Andreas Kling 2022-01-23 12:47:56 +01:00
parent 6ca90b8d57
commit 29589378ff
Notes: sideshowbarker 2024-07-17 20:21:04 +09:00
2 changed files with 0 additions and 10 deletions

View file

@ -92,14 +92,6 @@ void InlineFormattingContext::run(Box&, LayoutMode layout_mode)
containing_block().set_height(content_height);
}
float InlineFormattingContext::available_width_at_line(size_t line_index) const
{
// TODO: Remove this function, along with the old-style splitting functions.
VERIFY_NOT_REACHED();
auto info = available_space_for_line(line_index);
return info.right - info.left;
}
void InlineFormattingContext::dimension_box_on_line(Box& box, LayoutMode layout_mode)
{
if (is<ReplacedBox>(box)) {

View file

@ -23,8 +23,6 @@ public:
virtual void run(Box&, LayoutMode) override;
float available_width_at_line(size_t line_index) const;
void dimension_box_on_line(Box&, LayoutMode);
struct AvailableSpaceForLineInfo {