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/RTreeBench.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bench/RTreeBench.cpp') diff --git a/bench/RTreeBench.cpp b/bench/RTreeBench.cpp index d8e6347379..95f55c9a8f 100644 --- a/bench/RTreeBench.cpp +++ b/bench/RTreeBench.cpp @@ -6,7 +6,7 @@ * found in the LICENSE file. */ -#include "SkBenchmark.h" +#include "Benchmark.h" #include "SkCanvas.h" #include "SkRTree.h" #include "SkRandom.h" @@ -21,7 +21,7 @@ static const int GRID_WIDTH = 100; typedef SkIRect (*MakeRectProc)(SkRandom&, int, int); // Time how long it takes to build an R-Tree either bulk-loaded or not -class RTreeBuildBench : public SkBenchmark { +class RTreeBuildBench : public Benchmark { public: RTreeBuildBench(const char* name, MakeRectProc proc, bool bulkLoad, SkBBoxHierarchy* tree) @@ -63,11 +63,11 @@ private: MakeRectProc fProc; SkString fName; bool fBulkLoad; - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; // Time how long it takes to perform queries on an R-Tree, bulk-loaded or not -class RTreeQueryBench : public SkBenchmark { +class RTreeQueryBench : public Benchmark { public: enum QueryType { kSmall_QueryType, // small queries @@ -152,7 +152,7 @@ private: SkString fName; bool fBulkLoad; QueryType fQuery; - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; static inline SkIRect make_concentric_rects_increasing(SkRandom&, int index, int numRects) { -- cgit v1.2.3