mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:18:12 +00:00
LibWeb: Move remove_all_children() from Node to TreeNode<T>
This is useful in all tree types.
This commit is contained in:
parent
fe9de4b55c
commit
75829c1b81
3 changed files with 9 additions and 8 deletions
|
@ -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);
|
||||
void remove_all_children();
|
||||
|
||||
virtual RefPtr<Layout::Node> create_layout_node();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue