From b9682d38c1daa597c4acffd93cbd5ba72735a613 Mon Sep 17 00:00:00 2001 From: "vandebo@chromium.org" Date: Tue, 21 Feb 2012 18:53:39 +0000 Subject: 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 --- experimental/Debugger/SkDebugDumper.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'experimental/Debugger') 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; } -- cgit v1.2.3