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

LibWeb: Remove some to_deprecated_string() calls in the CSS code

This commit is contained in:
Sam Atkins 2023-12-01 16:45:31 +00:00 committed by Andreas Kling
parent 9c1c7720c5
commit 6dbc3044bd
9 changed files with 12 additions and 12 deletions

View file

@ -14,7 +14,7 @@ namespace Web::CSS {
String ShadowStyleValue::to_string() const
{
StringBuilder builder;
builder.appendff("{} {} {} {} {}", m_properties.color.to_deprecated_string(), m_properties.offset_x->to_string(), m_properties.offset_y->to_string(), m_properties.blur_radius->to_string(), m_properties.spread_distance->to_string());
builder.appendff("{} {} {} {} {}", m_properties.color.to_string(), m_properties.offset_x->to_string(), m_properties.offset_y->to_string(), m_properties.blur_radius->to_string(), m_properties.spread_distance->to_string());
if (m_properties.placement == ShadowPlacement::Inner)
builder.append(" inset"sv);
return MUST(builder.to_string());