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/ScalarBench.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bench/ScalarBench.cpp') diff --git a/bench/ScalarBench.cpp b/bench/ScalarBench.cpp index 77849c6444..e09fa7533b 100644 --- a/bench/ScalarBench.cpp +++ b/bench/ScalarBench.cpp @@ -5,13 +5,13 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ -#include "SkBenchmark.h" +#include "Benchmark.h" #include "SkFloatBits.h" #include "SkRandom.h" #include "SkRect.h" #include "SkString.h" -class ScalarBench : public SkBenchmark { +class ScalarBench : public Benchmark { SkString fName; public: ScalarBench(const char name[]) { @@ -38,7 +38,7 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; // having unknown values in our arrays can throw off the timing a lot, perhaps @@ -125,7 +125,7 @@ private: /////////////////////////////////////////////////////////////////////////////// -class RectBoundsBench : public SkBenchmark { +class RectBoundsBench : public Benchmark { enum { PTS = 100, }; @@ -157,7 +157,7 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3