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
commit 7fc72d3838
Notes: sideshowbarker 2024-07-17 05:01:20 +09:00
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: