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

Unified Diff: third_party/WebKit/Source/platform/text/LocaleICUTest.cpp

Issue 2017053003: Remove StringBuilder::appendLiteral. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 4 years, 7 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
Index: third_party/WebKit/Source/platform/text/LocaleICUTest.cpp
diff --git a/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp b/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp
index 729f0b2eef96cfde4d8fd68433a785f24a7c60c0..256467bcfa46319c83671d9826c55652006513d3 100644
--- a/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp
+++ b/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp
@@ -62,10 +62,10 @@ public:
String toString() const
{
StringBuilder builder;
- builder.appendLiteral("labels(");
+ builder.append("labels(");
for (unsigned index = 0; index < m_labels.size(); ++index) {
if (index)
- builder.appendLiteral(", ");
+ builder.append(", ");
builder.append('"');
builder.append(m_labels[index]);
builder.append('"');
« no previous file with comments | « third_party/WebKit/Source/platform/text/DateTimeFormat.cpp ('k') | third_party/WebKit/Source/platform/text/LocaleWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698