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

@ -374,7 +374,7 @@ GC::Ptr<DOM::Node> editing_host_of_node(GC::Ref<DOM::Node> node)
}
// https://w3c.github.io/editing/docs/execCommand/#fix-disallowed-ancestors
void fix_disallowed_ancestors_of_node(GC::Ptr<DOM::Node> node)
void fix_disallowed_ancestors_of_node(GC::Ref<DOM::Node> node)
{
// 1. If node is not editable, abort these steps.
if (!node->is_editable())