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

Unified Diff: Source/platform/PODRedBlackTree.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/PODInterval.h ('k') | Source/platform/UUID.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/PODRedBlackTree.h
diff --git a/Source/platform/PODRedBlackTree.h b/Source/platform/PODRedBlackTree.h
index 1f1f574e46cdec9fa7b1ae53e6bd412d44f95003..41ed7b97565fe12fe18cd94c70a1c6cd371d0c22 100644
--- a/Source/platform/PODRedBlackTree.h
+++ b/Source/platform/PODRedBlackTree.h
@@ -797,10 +797,10 @@ private:
{
StringBuilder builder;
for (int i = 0; i < indentation; i++)
- builder.append(" ");
- builder.append("-");
+ builder.append(' ');
+ builder.append('-');
if (node) {
- builder.append(" ");
+ builder.append(' ');
builder.append(ValueToString<T>::string(node->data()));
builder.append((node->color() == Black) ? " (black)" : " (red)");
}
« no previous file with comments | « Source/platform/PODInterval.h ('k') | Source/platform/UUID.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698