LibWeb: Make node cloning methods const

This commit is contained in:
Tim Ledbetter 2025-01-11 17:37:08 +00:00 committed by Jelle Raaijmakers
parent 31b20e38ee
commit a467005855
Notes: github-actions[bot] 2025-01-11 22:11:18 +00:00
20 changed files with 23 additions and 23 deletions

View file

@ -26,7 +26,7 @@ void MathMLElement::attribute_changed(FlyString const& local_name, Optional<Stri
HTMLOrSVGElement::attribute_changed(local_name, old_value, value, namespace_);
}
WebIDL::ExceptionOr<void> MathMLElement::cloned(DOM::Node& node, bool clone_children)
WebIDL::ExceptionOr<void> MathMLElement::cloned(DOM::Node& node, bool clone_children) const
{
TRY(Base::cloned(node, clone_children));
TRY(HTMLOrSVGElement::cloned(node, clone_children));