mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Make serializing basic CSS types infallible
This commit is contained in:
parent
b5893ee115
commit
6bee81cfb6
Notes:
sideshowbarker
2024-07-17 00:49:59 +09:00
Author: https://github.com/AtkinsSJ
Commit: 6bee81cfb6
Pull-request: https://github.com/SerenityOS/serenity/pull/20709
38 changed files with 128 additions and 121 deletions
|
@ -131,7 +131,7 @@ void serialize_a_local(StringBuilder& builder, StringView path)
|
|||
void serialize_unicode_ranges(StringBuilder& builder, Vector<UnicodeRange> const& unicode_ranges)
|
||||
{
|
||||
serialize_a_comma_separated_list(builder, unicode_ranges, [](auto& builder, UnicodeRange unicode_range) -> void {
|
||||
return serialize_a_string(builder, MUST(unicode_range.to_string()));
|
||||
return serialize_a_string(builder, unicode_range.to_string());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue