mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +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
|
@ -28,7 +28,7 @@ GC::Ref<Attr> Attr::create(Document& document, QualifiedName qualified_name, Str
|
|||
return document.realm().create<Attr>(document, move(qualified_name), move(value), owner_element);
|
||||
}
|
||||
|
||||
GC::Ref<Attr> Attr::clone(Document& document)
|
||||
GC::Ref<Attr> Attr::clone(Document& document) const
|
||||
{
|
||||
return realm().create<Attr>(document, m_qualified_name, m_value, nullptr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue