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
parent 211dc5659c
commit 98df4c2b3c
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;