From fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 Mon Sep 17 00:00:00 2001 From: "rmistry@google.com" Date: Thu, 23 Aug 2012 18:09:54 +0000 Subject: Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) This CL is part I of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6485054 git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81 --- bench/MorphologyBench.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bench/MorphologyBench.cpp') diff --git a/bench/MorphologyBench.cpp b/bench/MorphologyBench.cpp index f41e79c24c..b6e9c92287 100644 --- a/bench/MorphologyBench.cpp +++ b/bench/MorphologyBench.cpp @@ -47,12 +47,12 @@ public: fName.printf("morph_%d_%s", SkScalarRound(rad), name); } } - + protected: virtual const char* onGetName() { return fName.c_str(); } - + virtual void onDraw(SkCanvas* canvas) { SkPaint paint; this->setupPaint(&paint); @@ -69,11 +69,11 @@ protected: SkMorphologyImageFilter* mf = NULL; switch (fStyle) { case kDilate_MT: - mf = new SkDilateImageFilter(SkScalarFloorToInt(fRadius), + mf = new SkDilateImageFilter(SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius)); break; case kErode_MT: - mf = new SkErodeImageFilter(SkScalarFloorToInt(fRadius), + mf = new SkErodeImageFilter(SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius)); break; } @@ -82,7 +82,7 @@ protected: canvas->drawOval(r, paint); } } - + private: typedef SkBenchmark INHERITED; }; -- cgit v1.2.3