diff options
author | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-02-21 18:53:39 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-02-21 18:53:39 +0000 |
commit | b9682d38c1daa597c4acffd93cbd5ba72735a613 (patch) | |
tree | 2da0fbc8c6c19c3a7d7453c40b796d63f45436f0 /experimental | |
parent | c17972e7acc784553445adc18f608a8c4b1beac8 (diff) |
Change append to appendf for call sites with no format arguments.
Original CL: http://codereview.appspot.com/5685062/
Review URL: https://codereview.appspot.com/5686059
git-svn-id: http://skia.googlecode.com/svn/trunk@3225 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental')
-rw-r--r-- | experimental/Debugger/SkDebugDumper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/experimental/Debugger/SkDebugDumper.cpp b/experimental/Debugger/SkDebugDumper.cpp index 29b5049184..8ecbec1005 100644 --- a/experimental/Debugger/SkDebugDumper.cpp +++ b/experimental/Debugger/SkDebugDumper.cpp @@ -47,7 +47,7 @@ static void appendFlattenable(SkString* str, const SkFlattenable* ptr, static SkString dumpMatrix(SkDumpCanvas* canvas) { SkString str; SkMatrix m = canvas->getTotalMatrix(); - str.appendf("Matrix:"); + str.append("Matrix:"); str.appendf("Translate (%0.4g, %0.4g) ", SkScalarToFloat(m.get(SkMatrix::kMTransX)), SkScalarToFloat(m.get(SkMatrix::kMTransY))); @@ -73,13 +73,13 @@ static SkString dumpClip(SkDumpCanvas* canvas) { SkPoint pts[maxPts]; int numPts = p.getPoints(pts, maxPts); - str.appendf("Clip: [ "); + str.append("Clip: [ "); for (int i = 0; i < numPts; ++i) { str.appendf("(%0.4g, %0.4g)", pts[i].x(), pts[i].y()); if (i < numPts-1) - str.appendf(" , "); + str.append(" , "); } - str.appendf(" ]"); + str.append(" ]"); } return str; } |