LibWeb: Make Editing::fix_disallowed_ancestors_of_node() take a GC::Ref

This commit is contained in:
Jelle Raaijmakers 2024-12-03 15:26:10 +01:00 committed by Jelle Raaijmakers
commit 98df4c2b3c
Notes: github-actions[bot] 2024-12-04 05:53:28 +00:00
3 changed files with 3 additions and 3 deletions

View file

@ -206,7 +206,7 @@ bool command_delete_action(DOM::Document& document, String const&)
}
// 7. Fix disallowed ancestors of node.
fix_disallowed_ancestors_of_node(node);
fix_disallowed_ancestors_of_node(*node);
// 8. Return true.
return true;