summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/DOM/ParentNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibHTML/DOM/ParentNode.h')
-rw-r--r--Libraries/LibHTML/DOM/ParentNode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibHTML/DOM/ParentNode.h b/Libraries/LibHTML/DOM/ParentNode.h
index 9773cb31a2..b563320819 100644
--- a/Libraries/LibHTML/DOM/ParentNode.h
+++ b/Libraries/LibHTML/DOM/ParentNode.h
@@ -8,8 +8,8 @@ public:
template<typename F> void for_each_child(F);
protected:
- explicit ParentNode(NodeType type)
- : Node(type)
+ explicit ParentNode(Document& document, NodeType type)
+ : Node(document, type)
{
}
};