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/RegionContainBench.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bench/RegionContainBench.cpp') diff --git a/bench/RegionContainBench.cpp b/bench/RegionContainBench.cpp index 35ca46ff0f..a47ab3395f 100644 --- a/bench/RegionContainBench.cpp +++ b/bench/RegionContainBench.cpp @@ -5,7 +5,7 @@ * found in the LICENSE file. */ -#include "SkBenchmark.h" +#include "Benchmark.h" #include "SkRandom.h" #include "SkRegion.h" #include "SkString.h" @@ -15,7 +15,7 @@ static bool sect_proc(SkRegion& a, SkRegion& b) { return result.op(a, b, SkRegion::kIntersect_Op); } -class RegionContainBench : public SkBenchmark { +class RegionContainBench : public Benchmark { public: typedef bool (*Proc)(SkRegion& a, SkRegion& b); SkRegion fA, fB; @@ -61,7 +61,7 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; DEF_BENCH( return SkNEW_ARGS(RegionContainBench, (sect_proc, "sect")); ) -- cgit v1.2.3