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

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
parent 2368e6c5f2
commit 476ec563bc
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; }