summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/LineBuilder.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-07-16 23:30:32 +0200
committerAndreas Kling <kling@serenityos.org>2022-07-17 14:11:36 +0200
commit52862c72d00e50ae51197e18917b1950643b5f08 (patch)
treedb3c71b6de5714ea8341ef9064dcbf5491040fa9 /Userland/Libraries/LibWeb/Layout/LineBuilder.h
parent0d8f9019c8d464bddddc627becb2f809e21b12d7 (diff)
downloadserenity-52862c72d00e50ae51197e18917b1950643b5f08.zip
LibWeb: Rename FormattingState to LayoutState
This seems a bit more descriptive (and also a bit shorter).
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/LineBuilder.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/LineBuilder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/LineBuilder.h b/Userland/Libraries/LibWeb/Layout/LineBuilder.h
index 8efdbc2e42..3a98666e58 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&, LayoutMode);
+ LineBuilder(InlineFormattingContext&, LayoutState&, LayoutMode);
~LineBuilder();
void break_line();
@@ -50,8 +50,8 @@ private:
LineBox& ensure_last_line_box();
InlineFormattingContext& m_context;
- FormattingState& m_formatting_state;
- FormattingState::NodeState& m_containing_block_state;
+ LayoutState& m_formatting_state;
+ LayoutState::NodeState& m_containing_block_state;
LayoutMode m_layout_mode {};
float m_available_width_for_current_line { 0 };
float m_current_y { 0 };