LibWeb: Convert CSS Token::to_debug_string() to ::to_string() :^)

Using from_utf8_short_string() for all cases that are <= 3 bytes long.
Which is almost all of the static ones.
This commit is contained in:
Sam Atkins 2023-02-11 16:47:52 +00:00 committed by Linus Groh
commit 476ec563bc
Notes: sideshowbarker 2024-07-17 04:32:07 +09:00
4 changed files with 30 additions and 30 deletions

View file

@ -145,7 +145,7 @@ public:
StringView bracket_string() const;
StringView bracket_mirror_string() const;
DeprecatedString to_deprecated_string() const;
ErrorOr<String> to_string() const;
ErrorOr<String> to_debug_string() const;
Position const& start_position() const { return m_start_position; }