1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:57:44 +00:00

LibWeb: Convert CSS Token value to new FlyString

This commit is contained in:
Sam Atkins 2023-02-13 13:57:40 +00:00 committed by Linus Groh
parent 09f7682feb
commit 7fc72d3838
4 changed files with 20 additions and 23 deletions

View file

@ -42,7 +42,7 @@ DeprecatedString Token::to_deprecated_string() const
case Type::BadUrl:
return "url()";
case Type::Delim:
return m_value;
return DeprecatedString(m_value.bytes_as_string_view());
case Type::Number:
return DeprecatedString::number(m_number_value.value());
case Type::Percentage: