mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +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
|
@ -78,7 +78,7 @@ void HTMLOrSVGElement<ElementBase>::attribute_changed(FlyString const& local_nam
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/urls-and-fetching.html#dom-noncedelement-nonce
|
||||
template<typename ElementBase>
|
||||
WebIDL::ExceptionOr<void> HTMLOrSVGElement<ElementBase>::cloned(DOM::Node& copy, bool)
|
||||
WebIDL::ExceptionOr<void> HTMLOrSVGElement<ElementBase>::cloned(DOM::Node& copy, bool) const
|
||||
{
|
||||
// The cloning steps for elements that include HTMLOrSVGElement given node, copy, and subtree
|
||||
// are to set copy's [[CryptographicNonce]] to node's [[CryptographicNonce]].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue