mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:05:07 +00:00
LibWeb: Port AttributeNames to FlyString
This commit is contained in:
parent
6a3f27509f
commit
e4f8c59210
93 changed files with 148 additions and 149 deletions
|
@ -441,10 +441,10 @@ DeprecatedString HTMLHyperlinkElementUtils::href() const
|
|||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/links.html#dom-hyperlink-href
|
||||
WebIDL::ExceptionOr<void> HTMLHyperlinkElementUtils::set_href(StringView href)
|
||||
WebIDL::ExceptionOr<void> HTMLHyperlinkElementUtils::set_href(String href)
|
||||
{
|
||||
// The href attribute's setter must set this element's href content attribute's value to the given value.
|
||||
return set_hyperlink_element_utils_href(href);
|
||||
return set_hyperlink_element_utils_href(move(href));
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/links.html#update-href
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue