1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:47:46 +00:00

LibWeb: Expose Parser::Function name as FlyString const&

This saves us from having to re-convert the StringView back to a
FlyString again when resolving UnresolvedStyleValues.
This commit is contained in:
Sam Atkins 2023-09-04 10:50:42 +01:00 committed by Andreas Kling
parent f527e55046
commit 733ad57f39
3 changed files with 5 additions and 6 deletions

View file

@ -25,7 +25,7 @@ public:
~Function();
StringView name() const { return m_name; }
FlyString const& name() const { return m_name; }
Vector<ComponentValue> const& values() const { return m_values; }
String to_string() const;