LibWeb: Remove accidentally committed changes from b72f067f0d

This commit is contained in:
Andreas Kling 2021-01-28 08:56:02 +01:00
parent 5ff355c0cd
commit 5a58f42e3c
Notes: sideshowbarker 2024-07-18 22:47:53 +09:00
3 changed files with 1 additions and 8 deletions

View file

@ -183,12 +183,6 @@ RefPtr<Node> Node::append_child(NonnullRefPtr<Node> node, bool notify)
return node;
}
RefPtr<Node> Node::remove_child(NonnullRefPtr<Node> node)
{
TreeNode<Node>::remove_child(node);
return node;
}
RefPtr<Node> Node::insert_before(NonnullRefPtr<Node> node, RefPtr<Node> child, bool notify)
{
if (!child)

View file

@ -82,7 +82,6 @@ public:
RefPtr<Node> append_child(NonnullRefPtr<Node>, bool notify = true);
RefPtr<Node> insert_before(NonnullRefPtr<Node> node, RefPtr<Node> child, bool notify = true);
RefPtr<Node> remove_child(NonnullRefPtr<Node>);
virtual RefPtr<Layout::Node> create_layout_node();

View file

@ -11,6 +11,6 @@ interface Node : EventTarget {
Node appendChild(Node node);
Node insertBefore(Node node, Node? child);
Node removeChild(Node child);
};