diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/LineBuilder.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/LineBuilder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/LineBuilder.h b/Userland/Libraries/LibWeb/Layout/LineBuilder.h index bcadc64dfb..cd0afca6a8 100644 --- a/Userland/Libraries/LibWeb/Layout/LineBuilder.h +++ b/Userland/Libraries/LibWeb/Layout/LineBuilder.h @@ -15,7 +15,7 @@ class LineBuilder { AK_MAKE_NONMOVABLE(LineBuilder); public: - LineBuilder(InlineFormattingContext&, FormattingState&); + LineBuilder(InlineFormattingContext&, FormattingState&, LayoutMode); ~LineBuilder(); void break_line(); @@ -44,6 +44,7 @@ private: InlineFormattingContext& m_context; FormattingState& m_formatting_state; FormattingState::NodeState& m_containing_block_state; + LayoutMode m_layout_mode {}; float m_available_width_for_current_line { 0 }; float m_current_y { 0 }; float m_max_height_on_current_line { 0 }; |