summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LineBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Layout/LineBox.h')
-rw-r--r--Libraries/LibWeb/Layout/LineBox.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Libraries/LibWeb/Layout/LineBox.h b/Libraries/LibWeb/Layout/LineBox.h
index eeb177d638..242adf0007 100644
--- a/Libraries/LibWeb/Layout/LineBox.h
+++ b/Libraries/LibWeb/Layout/LineBox.h
@@ -30,7 +30,7 @@
#include <AK/Vector.h>
#include <LibWeb/Layout/LineBoxFragment.h>
-namespace Web {
+namespace Web::Layout {
class LineBox {
public:
@@ -38,7 +38,7 @@ public:
float width() const { return m_width; }
- void add_fragment(const LayoutNode& layout_node, int start, int length, int width, int height);
+ void add_fragment(const Node& layout_node, int start, int length, int width, int height);
const NonnullOwnPtrVector<LineBoxFragment>& fragments() const { return m_fragments; }
NonnullOwnPtrVector<LineBoxFragment>& fragments() { return m_fragments; }
@@ -48,8 +48,8 @@ public:
bool ends_in_whitespace() const;
private:
- friend class LayoutBlock;
- friend class Layout::InlineFormattingContext;
+ friend class BlockBox;
+ friend class InlineFormattingContext;
NonnullOwnPtrVector<LineBoxFragment> m_fragments;
float m_width { 0 };
};