mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb/CSS: Use FlyString const& for property name IDL parameters
This commit is contained in:
Notes:
github-actions[bot]
2025-10-02 12:48:32 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/a8312bf5714 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6310
@@ -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);
|
||||
}
|
||||
)~~~");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user