1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:07:43 +00:00

LibWeb: Remove unused Layout::TextNode::ChunkIterator::m_layout_mode

This commit is contained in:
Andreas Kling 2022-10-14 12:26:18 +02:00
parent 42538b5375
commit 063d6cab8b
3 changed files with 4 additions and 6 deletions

View file

@ -85,9 +85,8 @@ void TextNode::compute_text_for_rendering(bool collapse)
m_text_for_rendering = builder.to_string();
}
TextNode::ChunkIterator::ChunkIterator(StringView text, LayoutMode layout_mode, bool wrap_lines, bool respect_linebreaks)
: m_layout_mode(layout_mode)
, m_wrap_lines(wrap_lines)
TextNode::ChunkIterator::ChunkIterator(StringView text, bool wrap_lines, bool respect_linebreaks)
: m_wrap_lines(wrap_lines)
, m_respect_linebreaks(respect_linebreaks)
, m_utf8_view(text)
, m_iterator(m_utf8_view.begin())