mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Make node cloning methods const
This commit is contained in:
parent
31b20e38ee
commit
a467005855
Notes:
github-actions[bot]
2025-01-11 22:11:18 +00:00
Author: https://github.com/tcl3
Commit: a467005855
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3228
Reviewed-by: https://github.com/gmta ✅
20 changed files with 23 additions and 23 deletions
|
@ -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));
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
|
||||
protected:
|
||||
virtual void attribute_changed(FlyString const& name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_) override;
|
||||
virtual WebIDL::ExceptionOr<void> cloned(DOM::Node&, bool) override;
|
||||
virtual WebIDL::ExceptionOr<void> cloned(DOM::Node&, bool) const override;
|
||||
virtual void inserted() override;
|
||||
virtual GC::Ptr<DOM::EventTarget> global_event_handlers_to_event_target(FlyString const&) override { return *this; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue