mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 23:09:08 +00:00
LibWeb: Port AttributeNames to FlyString
This commit is contained in:
parent
6a3f27509f
commit
e4f8c59210
Notes:
sideshowbarker
2024-07-18 04:46:35 +09:00
Author: https://github.com/shannonbooth
Commit: e4f8c59210
Pull-request: https://github.com/SerenityOS/serenity/pull/21376
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