mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +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:
parent
2368e6c5f2
commit
476ec563bc
Notes:
sideshowbarker
2024-07-17 04:32:07 +09:00
Author: https://github.com/AtkinsSJ
Commit: 476ec563bc
Pull-request: https://github.com/SerenityOS/serenity/pull/17440
Reviewed-by: https://github.com/linusg
4 changed files with 30 additions and 30 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue