mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb/CSS: Use FlyString const& for property name IDL parameters
This commit is contained in:
parent
37fa6459fb
commit
a8312bf571
Notes:
github-actions[bot]
2025-10-02 12:48:32 +00:00
Author: https://github.com/AtkinsSJ
Commit: a8312bf571
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6310
10 changed files with 87 additions and 90 deletions
|
|
@ -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);
|
||||
}
|
||||
)~~~");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue