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

Unified Diff: Source/platform/PODInterval.h

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/platform/JSONValues.cpp ('k') | Source/platform/PODRedBlackTree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/PODInterval.h
diff --git a/Source/platform/PODInterval.h b/Source/platform/PODInterval.h
index 8c27a219068e924307a5f4e869bda30de354745f..394560d98fe323c90de9983f624a0d4c221cfa48 100644
--- a/Source/platform/PODInterval.h
+++ b/Source/platform/PODInterval.h
@@ -138,15 +138,15 @@ public:
String toString() const
{
StringBuilder builder;
- builder.append("[PODInterval (");
+ builder.appendLiteral("[PODInterval (");
builder.append(ValueToString<T>::string(low()));
- builder.append(", ");
+ builder.appendLiteral(", ");
builder.append(ValueToString<T>::string(high()));
- builder.append("), data=");
+ builder.appendLiteral("), data=");
builder.append(ValueToString<UserData>::string(data()));
- builder.append(", maxHigh=");
+ builder.appendLiteral(", maxHigh=");
builder.append(ValueToString<T>::string(maxHigh()));
- builder.append("]");
+ builder.append(']');
return builder.toString();
}
#endif
« no previous file with comments | « Source/platform/JSONValues.cpp ('k') | Source/platform/PODRedBlackTree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698