1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

LibWeb: Remove unused argument of InlineLevelIterator::next

Also remove unused method from LineBuilder.
This commit is contained in:
Andi Gallo 2023-08-17 05:38:52 +00:00 committed by Andreas Kling
parent 768c35af71
commit ef6a78518f
4 changed files with 6 additions and 8 deletions

View file

@ -244,7 +244,7 @@ void InlineFormattingContext::generate_line_boxes(LayoutMode layout_mode)
LineBuilder line_builder(*this, m_state);
for (;;) {
auto item_opt = iterator.next(line_builder.available_width_for_current_line());
auto item_opt = iterator.next();
if (!item_opt.has_value())
break;
auto& item = item_opt.value();