From f168b86d7fafc5c20c87bebc6fd393cb17e120ca Mon Sep 17 00:00:00 2001 From: tfarina Date: Thu, 19 Jun 2014 12:32:29 -0700 Subject: Remove Sk prefix from some bench classes. This idea came while commenting on https://codereview.chromium.org/343583005/ Since SkBenchmark, SkBenchLogger and SkGMBench are not part of the Skia library, they should not have the Sk prefix. BUG=None TEST=make all R=mtklein@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/347823004 --- bench/BlurRectBench.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bench/BlurRectBench.cpp') diff --git a/bench/BlurRectBench.cpp b/bench/BlurRectBench.cpp index 6871e0e4ca..cdcdfe57f3 100644 --- a/bench/BlurRectBench.cpp +++ b/bench/BlurRectBench.cpp @@ -5,13 +5,13 @@ * found in the LICENSE file. */ -#include "SkBenchmark.h" +#include "Benchmark.h" +#include "SkBlurMask.h" #include "SkCanvas.h" #include "SkPaint.h" #include "SkRandom.h" #include "SkShader.h" #include "SkString.h" -#include "SkBlurMask.h" #define SMALL SkIntToScalar(2) #define REAL 1.5f @@ -20,7 +20,7 @@ static const SkScalar kMedium = SkIntToScalar(5); static const SkScalar kMedBig = SkIntToScalar(20); #define REALBIG 30.5f -class BlurRectBench: public SkBenchmark { +class BlurRectBench: public Benchmark { int fLoopCount; SkScalar fRadius; SkString fName; @@ -70,7 +70,7 @@ protected: virtual void makeBlurryRect(const SkRect&) = 0; virtual void preBenchSetup(const SkRect&) {} private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; -- cgit v1.2.3