LibWeb: Remove unused InlineFormattingContext::available_width_at_line()
This commit is contained in:
parent
6ca90b8d57
commit
29589378ff
Notes:
sideshowbarker
2024-07-17 20:21:04 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/29589378ff9
2 changed files with 0 additions and 10 deletions
|
@ -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)) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue