1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +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

@ -33,13 +33,12 @@ public:
class ChunkIterator {
public:
ChunkIterator(StringView text, LayoutMode, bool wrap_lines, bool respect_linebreaks);
ChunkIterator(StringView text, bool wrap_lines, bool respect_linebreaks);
Optional<Chunk> next();
private:
Optional<Chunk> try_commit_chunk(Utf8View::Iterator const& start, Utf8View::Iterator const& end, bool has_breaking_newline) const;
const LayoutMode m_layout_mode;
bool const m_wrap_lines;
bool const m_respect_linebreaks;
Utf8View m_utf8_view;