summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/Node.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-01-21 13:34:29 +0100
committerAndreas Kling <kling@serenityos.org>2022-01-23 01:22:41 +0100
commit766d816db3642635e79dc4a8026534098c4d922a (patch)
treecfcdfd22438f1b6c927f1d005e7d403764f56c10 /Userland/Libraries/LibWeb/Layout/Node.cpp
parentba49dc82e0f3b29fac84556dc658a1113f835409 (diff)
downloadserenity-766d816db3642635e79dc4a8026534098c4d922a.zip
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.
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/Node.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/Node.cpp7
1 files changed, 0 insertions, 7 deletions
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()) {