mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
LibWeb: Port custom properties to FlyString
This commit is contained in:
parent
346825bd78
commit
ea2b733862
10 changed files with 31 additions and 32 deletions
|
@ -724,7 +724,7 @@ static ErrorOr<void> cascade_custom_properties(DOM::Element& element, Optional<C
|
|||
needed_capacity += inline_style->custom_properties().size();
|
||||
}
|
||||
|
||||
HashMap<DeprecatedFlyString, StyleProperty> custom_properties;
|
||||
HashMap<FlyString, StyleProperty> custom_properties;
|
||||
TRY(custom_properties.try_ensure_capacity(needed_capacity));
|
||||
|
||||
for (auto const& matching_rule : matching_rules) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue