From 766d816db3642635e79dc4a8026534098c4d922a Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 21 Jan 2022 13:34:29 +0100 Subject: LibWeb: Remove old Layout::Node::split_into_lines() API Now that we build lines incrementally, we no longer need the atomic line splitting API. The new InlineLevelIterator and LineBuilder setup does have some regressions from the old behavior, but we can deal with them as we go. --- Userland/Libraries/LibWeb/Layout/Node.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Userland/Libraries/LibWeb/Layout/Node.cpp') diff --git a/Userland/Libraries/LibWeb/Layout/Node.cpp b/Userland/Libraries/LibWeb/Layout/Node.cpp index d2a0f8b460..0ca04e8c09 100644 --- a/Userland/Libraries/LibWeb/Layout/Node.cpp +++ b/Userland/Libraries/LibWeb/Layout/Node.cpp @@ -115,13 +115,6 @@ InitialContainingBlock& Node::root() return *document().layout_node(); } -void Node::split_into_lines(InlineFormattingContext& context, LayoutMode layout_mode) -{ - for_each_child([&](auto& child) { - child.split_into_lines(context, layout_mode); - }); -} - void Node::set_needs_display() { if (auto* block = containing_block()) { -- cgit v1.2.3