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/FontCacheBench.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bench/FontCacheBench.cpp') diff --git a/bench/FontCacheBench.cpp b/bench/FontCacheBench.cpp index a3c0672ef4..0e75c9cb17 100644 --- a/bench/FontCacheBench.cpp +++ b/bench/FontCacheBench.cpp @@ -5,7 +5,7 @@ * found in the LICENSE file. */ -#include "SkBenchmark.h" +#include "Benchmark.h" #include "SkCanvas.h" #include "SkFontHost.h" #include "SkPaint.h" @@ -23,7 +23,7 @@ static int count_glyphs(const uint16_t start[]) { return static_cast(curr - start); } -class FontCacheBench : public SkBenchmark { +class FontCacheBench : public Benchmark { public: FontCacheBench() {} @@ -48,7 +48,7 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; /////////////////////////////////////////////////////////////////////////////// @@ -107,7 +107,7 @@ static void dump_array(const uint16_t array[], int count) { SkDebugf("\n"); } -class FontCacheEfficiency : public SkBenchmark { +class FontCacheEfficiency : public Benchmark { public: FontCacheEfficiency() { if (false) dump_array(NULL, 0); @@ -147,7 +147,7 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3