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

Unified Diff: Source/web/tests/LocaleICUTest.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/web/WebPageSerializerImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/LocaleICUTest.cpp
diff --git a/Source/web/tests/LocaleICUTest.cpp b/Source/web/tests/LocaleICUTest.cpp
index 5824d19da05a98195997a149cf0774d8ba27c609..c3bbb7564e72ccf1c64fad82bddc6bec27487315 100644
--- a/Source/web/tests/LocaleICUTest.cpp
+++ b/Source/web/tests/LocaleICUTest.cpp
@@ -61,10 +61,10 @@ public:
String toString() const
{
StringBuilder builder;
- builder.append("labels(");
+ builder.appendLiteral("labels(");
for (unsigned index = 0; index < m_labels.size(); ++index) {
if (index)
- builder.append(", ");
+ builder.appendLiteral(", ");
builder.append('"');
builder.append(m_labels[index]);
builder.append('"');
« no previous file with comments | « Source/web/WebPageSerializerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698