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(m_fragments.last().layout_node()); -} - } diff --git a/Userland/Libraries/LibWeb/Layout/LineBox.h b/Userland/Libraries/LibWeb/Layout/LineBox.h index 76cf5442fc..ca6156091f 100644 --- a/Userland/Libraries/LibWeb/Layout/LineBox.h +++ b/Userland/Libraries/LibWeb/Layout/LineBox.h @@ -27,7 +27,6 @@ public: bool is_empty_or_ends_in_whitespace() const; bool is_empty() const { return m_fragments.is_empty(); } - bool ends_with_forced_line_break() const; private: friend class BlockContainer;