summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/LineBuilder.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-08-14 16:43:08 +0200
committerAndreas Kling <kling@serenityos.org>2022-08-14 23:33:28 +0200
commitab6af4c9a0662847538c3786dfa39302d7dda7a0 (patch)
tree29e5a7605a34d89ebdc97be3cd4f2ce7497db324 /Userland/Libraries/LibWeb/Layout/LineBuilder.h
parent54ca9b50de133e2a4b43a400554a08197d7c3b07 (diff)
downloadserenity-ab6af4c9a0662847538c3786dfa39302d7dda7a0.zip
LibWeb: Remove unused member LineBuilder::m_layout_mode
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/LineBuilder.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/LineBuilder.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/LineBuilder.h b/Userland/Libraries/LibWeb/Layout/LineBuilder.h
index 158908a199..e666e841c0 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&, LayoutState&, LayoutMode);
+ LineBuilder(InlineFormattingContext&, LayoutState&);
~LineBuilder();
void break_line();
@@ -52,7 +52,6 @@ private:
InlineFormattingContext& m_context;
LayoutState& m_layout_state;
LayoutState::UsedValues& 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 };