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/BitmapBench.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bench/BitmapBench.cpp') diff --git a/bench/BitmapBench.cpp b/bench/BitmapBench.cpp index e877bd472d..a269e906f6 100644 --- a/bench/BitmapBench.cpp +++ b/bench/BitmapBench.cpp @@ -5,11 +5,11 @@ * found in the LICENSE file. */ -#include "SkBenchmark.h" +#include "Benchmark.h" #include "SkBitmap.h" -#include "SkPaint.h" #include "SkCanvas.h" #include "SkColorPriv.h" +#include "SkPaint.h" #include "SkRandom.h" #include "SkString.h" #include "sk_tool_utils.h" @@ -70,7 +70,7 @@ static void convertToIndex666(const SkBitmap& src, SkBitmap* dst, SkAlphaType aT */ -class BitmapBench : public SkBenchmark { +class BitmapBench : public Benchmark { const SkColorType fColorType; const SkAlphaType fAlphaType; const bool fForceUpdate; //bitmap marked as dirty before each draw. forces bitmap to be updated on device cache @@ -168,7 +168,7 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; /** Explicitly invoke some filter types to improve coverage of acceleration -- cgit v1.2.3