summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/FormattingState.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/FormattingState.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/FormattingState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/FormattingState.h b/Userland/Libraries/LibWeb/Layout/FormattingState.h
index ca330caa65..925b69aae2 100644
--- a/Userland/Libraries/LibWeb/Layout/FormattingState.h
+++ b/Userland/Libraries/LibWeb/Layout/FormattingState.h
@@ -107,6 +107,8 @@ struct FormattingState {
};
HashMap<NodeWithStyleAndBoxModelMetrics const*, IntrinsicSizes> mutable intrinsic_sizes;
+ HashMap<Box const*, float> mutable flex_item_size_cache;
+
FormattingState const* m_parent { nullptr };
FormattingState const& m_root;
};