diff options
Diffstat (limited to 'Libraries/LibHTML/Layout/LayoutNode.cpp')
-rw-r--r-- | Libraries/LibHTML/Layout/LayoutNode.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Libraries/LibHTML/Layout/LayoutNode.cpp b/Libraries/LibHTML/Layout/LayoutNode.cpp index f66ef64fff..0b7dc8bc68 100644 --- a/Libraries/LibHTML/Layout/LayoutNode.cpp +++ b/Libraries/LibHTML/Layout/LayoutNode.cpp @@ -1,10 +1,9 @@ #include <LibHTML/Layout/LayoutBlock.h> #include <LibHTML/Layout/LayoutNode.h> -#include <LibHTML/CSS/StyledNode.h> -LayoutNode::LayoutNode(const Node* node, const StyledNode* styled_node) +LayoutNode::LayoutNode(const Node* node, StyleProperties&& style_properties) : m_node(node) - , m_styled_node(styled_node) + , m_style_properties(style_properties) { } |