diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-28 08:56:02 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-28 08:57:12 +0100 |
commit | 5a58f42e3c2387ddc90002c73b34cbe516ee2d51 (patch) | |
tree | 0ef830e32c901cfe36fef77903b59522e3f5f1b1 /Userland/Libraries | |
parent | 5ff355c0cdf48796bc16335e1af7f34c41dcf576 (diff) | |
download | serenity-5a58f42e3c2387ddc90002c73b34cbe516ee2d51.zip |
LibWeb: Remove accidentally committed changes from b72f067f0daac88ebe66e3f714e517b995b48e7b
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Node.cpp | 6 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Node.h | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Node.idl | 2 |
3 files changed, 1 insertions, 8 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Node.cpp b/Userland/Libraries/LibWeb/DOM/Node.cpp index ce2d864514..ea26fbd761 100644 --- a/Userland/Libraries/LibWeb/DOM/Node.cpp +++ b/Userland/Libraries/LibWeb/DOM/Node.cpp @@ -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) diff --git a/Userland/Libraries/LibWeb/DOM/Node.h b/Userland/Libraries/LibWeb/DOM/Node.h index a62c220fe1..d29f0a471f 100644 --- a/Userland/Libraries/LibWeb/DOM/Node.h +++ b/Userland/Libraries/LibWeb/DOM/Node.h @@ -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(); diff --git a/Userland/Libraries/LibWeb/DOM/Node.idl b/Userland/Libraries/LibWeb/DOM/Node.idl index 3165b3131d..2ba27688e6 100644 --- a/Userland/Libraries/LibWeb/DOM/Node.idl +++ b/Userland/Libraries/LibWeb/DOM/Node.idl @@ -11,6 +11,6 @@ interface Node : EventTarget { Node appendChild(Node node); Node insertBefore(Node node, Node? child); - Node removeChild(Node child); + }; |