LibWeb: Port AttributeNames to FlyString

This commit is contained in:
Shannon Booth 2023-10-08 11:42:00 +13:00 committed by Tim Flynn
parent 6a3f27509f
commit e4f8c59210
Notes: sideshowbarker 2024-07-18 04:46:35 +09:00
93 changed files with 148 additions and 149 deletions

View file

@ -532,7 +532,7 @@ void HTMLInputElement::create_shadow_tree_if_needed()
white-space: pre;
border: none;
padding: 1px 2px;
)~~~"));
)~~~"_string));
m_placeholder_element = heap().allocate<PlaceholderElement>(realm(), document());
MUST(m_placeholder_element->style_for_bindings()->set_property(CSS::PropertyID::Height, "1lh"sv));
@ -586,7 +586,7 @@ void HTMLInputElement::did_lose_focus()
});
}
void HTMLInputElement::attribute_changed(DeprecatedFlyString const& name, DeprecatedString const& value)
void HTMLInputElement::attribute_changed(FlyString const& name, DeprecatedString const& value)
{
HTMLElement::attribute_changed(name, value);
if (name == HTML::AttributeNames::checked) {