summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/TextNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/TextNode.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/TextNode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/TextNode.h b/Userland/Libraries/LibWeb/Layout/TextNode.h
index 0d64f31417..128f80b893 100644
--- a/Userland/Libraries/LibWeb/Layout/TextNode.h
+++ b/Userland/Libraries/LibWeb/Layout/TextNode.h
@@ -33,7 +33,7 @@ public:
class ChunkIterator {
public:
- ChunkIterator(StringView text, bool wrap_lines, bool respect_linebreaks);
+ ChunkIterator(StringView text, bool wrap_lines, bool respect_linebreaks, bool is_generated_empty_string);
Optional<Chunk> next();
private:
@@ -41,6 +41,7 @@ public:
bool const m_wrap_lines;
bool const m_respect_linebreaks;
+ bool m_should_emit_one_empty_chunk { false };
Utf8View m_utf8_view;
Utf8View::Iterator m_iterator;
};