Index: Source/core/css/StylePropertySerializer.cpp |
diff --git a/Source/core/css/StylePropertySerializer.cpp b/Source/core/css/StylePropertySerializer.cpp |
index 294dc6484d67e605dafc83297e558cb759f069b2..f56e75907a27fd91bf341f60685841a8afbda156 100644 |
--- a/Source/core/css/StylePropertySerializer.cpp |
+++ b/Source/core/css/StylePropertySerializer.cpp |
@@ -715,12 +715,12 @@ static void appendBackgroundRepeatValue(StringBuilder& builder, const CSSValue& |
if (repeatXValueId == repeatYValueId) { |
builder.append(repeatX.cssText()); |
} else if (repeatXValueId == CSSValueNoRepeat && repeatYValueId == CSSValueRepeat) { |
- builder.append("repeat-y"); |
+ builder.appendLiteral("repeat-y"); |
} else if (repeatXValueId == CSSValueRepeat && repeatYValueId == CSSValueNoRepeat) { |
- builder.append("repeat-x"); |
+ builder.appendLiteral("repeat-x"); |
} else { |
builder.append(repeatX.cssText()); |
- builder.append(" "); |
+ builder.appendLiteral(" "); |
builder.append(repeatY.cssText()); |
} |
} |
@@ -762,7 +762,7 @@ String StylePropertySerializer::backgroundRepeatPropertyValue() const |
StringBuilder builder; |
for (size_t i = 0; i < shorthandLength; ++i) { |
if (i) |
- builder.append(", "); |
+ builder.appendLiteral(", "); |
appendBackgroundRepeatValue(builder, |
*repeatXList->item(i % repeatXList->length()), |
*repeatYList->item(i % repeatYList->length())); |