summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/LineBox.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-02-26 08:33:45 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-26 08:33:45 +0100
commit8b369bf7bd54c5b96627c8e14d81f295b6090197 (patch)
tree50716e336e9ae5d9cc21e63b93953f42e487bfbf /Userland/Libraries/LibWeb/Layout/LineBox.cpp
parent784dbdef8e1ec1250e25923a95230bf34b62545d (diff)
downloadserenity-8b369bf7bd54c5b96627c8e14d81f295b6090197.zip
LibWeb: Remove unused LineBox::ends_with_forced_line_break()
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/LineBox.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/LineBox.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/LineBox.cpp b/Userland/Libraries/LibWeb/Layout/LineBox.cpp
index f22b0beea9..330ace7f9e 100644
--- a/Userland/Libraries/LibWeb/Layout/LineBox.cpp
+++ b/Userland/Libraries/LibWeb/Layout/LineBox.cpp
@@ -69,9 +69,4 @@ bool LineBox::is_empty_or_ends_in_whitespace() const
return m_fragments.last().ends_in_whitespace();
}
-bool LineBox::ends_with_forced_line_break() const
-{
- return is<BreakNode>(m_fragments.last().layout_node());
-}
-
}