Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: Source/core/css/CSSImageSetValue.cpp

Issue 482753002: Use StringBuilder::appendLiteral() / StringBuilder::append(char) when possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSFilterValue.cpp ('k') | Source/core/css/CSSImportRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSImageSetValue.cpp
diff --git a/Source/core/css/CSSImageSetValue.cpp b/Source/core/css/CSSImageSetValue.cpp
index dbfec7f43a6e0f058c3348bd1dbdfdc1ad53e493..682f227cce25ee6300512fbabdf2a40cc16eb155 100644
--- a/Source/core/css/CSSImageSetValue.cpp
+++ b/Source/core/css/CSSImageSetValue.cpp
@@ -149,7 +149,7 @@ String CSSImageSetValue::customCSSText() const
size_t i = 0;
while (i < length) {
if (i > 0)
- result.append(", ");
+ result.appendLiteral(", ");
const CSSValue* imageValue = item(i);
result.append(imageValue->cssText());
@@ -166,7 +166,7 @@ String CSSImageSetValue::customCSSText() const
++i;
}
- result.append(")");
+ result.append(')');
return result.toString();
}
« no previous file with comments | « Source/core/css/CSSFilterValue.cpp ('k') | Source/core/css/CSSImportRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698