1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

LibWeb: Add simple implementation of Node.removeChild()

This commit is contained in:
Andreas Kling 2021-01-28 08:57:37 +01:00
parent 5a58f42e3c
commit a0bcfa30bf
3 changed files with 8 additions and 1 deletions

View file

@ -82,6 +82,7 @@ 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();