1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:37:46 +00:00

LibWeb: Port ComputedValues to new Strings

This commit is contained in:
Sam Atkins 2023-02-14 16:05:40 +00:00 committed by Tim Flynn
parent 9e735cc02e
commit e338ef4914
3 changed files with 5 additions and 5 deletions

View file

@ -494,7 +494,7 @@ CSS::ContentData StyleProperties::content() const
}
}
content_data.type = ContentData::Type::String;
content_data.data = builder.to_deprecated_string();
content_data.data = builder.to_string().release_value_but_fixme_should_propagate_errors();
if (content_style_value.has_alt_text()) {
StringBuilder alt_text_builder;
@ -505,7 +505,7 @@ CSS::ContentData StyleProperties::content() const
// TODO: Implement counters
}
}
content_data.alt_text = alt_text_builder.to_deprecated_string();
content_data.alt_text = alt_text_builder.to_string().release_value_but_fixme_should_propagate_errors();
}
return content_data;