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/core/rendering/GraphicsContextAnnotator.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/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/core/rendering/RenderText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/GraphicsContextAnnotator.cpp
diff --git a/Source/core/rendering/GraphicsContextAnnotator.cpp b/Source/core/rendering/GraphicsContextAnnotator.cpp
index 227234162895bff1273175abefeb4a0c32693051..8276977da98c0baee828fd7ead89555fcfdc808e 100644
--- a/Source/core/rendering/GraphicsContextAnnotator.cpp
+++ b/Source/core/rendering/GraphicsContextAnnotator.cpp
@@ -112,7 +112,7 @@ void GraphicsContextAnnotator::annotate(const PaintInfo& paintInfo, const Render
StringBuilder classBuilder;
for (size_t i = 0; i < classes.size(); ++i) {
if (i > 0)
- classBuilder.append(" ");
+ classBuilder.append(' ');
classBuilder.append(classes[i]);
}
« no previous file with comments | « Source/core/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/core/rendering/RenderText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698