summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/InlineLevelIterator.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-07-06 20:14:40 +0200
committerAndreas Kling <kling@serenityos.org>2022-07-06 20:31:27 +0200
commit8abbbdf6fa0eeeaded8edd69f0acae56b36d78ff (patch)
treeaa9ba3dbf53fd2f01a824397af9d56ad687f3159 /Userland/Libraries/LibWeb/Layout/InlineLevelIterator.h
parent4935055407e62196379b7b49baabafb6f92a70cf (diff)
downloadserenity-8abbbdf6fa0eeeaded8edd69f0acae56b36d78ff.zip
LibWeb: Cache a pointer to the IFC root in InlineLevelIterator
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/InlineLevelIterator.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/InlineLevelIterator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/InlineLevelIterator.h b/Userland/Libraries/LibWeb/Layout/InlineLevelIterator.h
index 21b7dd1a5e..7d26ebada4 100644
--- a/Userland/Libraries/LibWeb/Layout/InlineLevelIterator.h
+++ b/Userland/Libraries/LibWeb/Layout/InlineLevelIterator.h
@@ -68,6 +68,7 @@ private:
Layout::InlineFormattingContext& m_inline_formatting_context;
Layout::FormattingState& m_formatting_state;
Layout::BlockContainer const& m_container;
+ Layout::FormattingState::NodeState const& m_container_state;
Layout::Node const* m_current_node { nullptr };
Layout::Node const* m_next_node { nullptr };
LayoutMode const m_layout_mode;