1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

LibWeb: Convert StyleFunctionRule.m_values to ComponentValues

The input is ComponentValues, and the output is too, so storing as
a String in the middle was inefficient and unnecessary.
This commit is contained in:
Sam Atkins 2021-07-08 12:33:49 +01:00 committed by Andreas Kling
parent fabc09a593
commit cf333574ac
3 changed files with 17 additions and 12 deletions

View file

@ -175,7 +175,7 @@ String StyleFunctionRule::to_string() const
builder.append(m_name);
builder.append("(");
append_raw(builder, ", ", m_values);
append_with_to_string(builder, ", ", m_values);
builder.append(")");
return builder.to_string();