LibWeb/CSS: Use FlyString const& for property name IDL parameters

This commit is contained in:
Sam Atkins 2025-09-25 12:43:52 +01:00
parent 37fa6459fb
commit a8312bf571
Notes: github-actions[bot] 2025-10-02 12:48:32 +00:00
10 changed files with 87 additions and 90 deletions

View file

@ -110,12 +110,12 @@ namespace Web::Bindings {
definition_generator.append(R"~~~(
WebIDL::ExceptionOr<void> GeneratedCSSStyleProperties::set_@name:acceptable_cpp@(StringView value)
{
return generated_style_properties_to_css_style_properties().set_property("@name@"sv, value, ""sv);
return generated_style_properties_to_css_style_properties().set_property("@name@"_fly_string, value, ""sv);
}
String GeneratedCSSStyleProperties::@name:acceptable_cpp@() const
{
return generated_style_properties_to_css_style_properties().get_property_value("@name@"sv);
return generated_style_properties_to_css_style_properties().get_property_value("@name@"_fly_string);
}
)~~~");
});