diff options
author | tfarina <tfarina@chromium.org> | 2014-06-19 12:32:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-19 12:32:29 -0700 |
commit | f168b86d7fafc5c20c87bebc6fd393cb17e120ca (patch) | |
tree | 9a1b1cff3725cc6cc030657fd83b5dca12137d86 /bench/RTreeBench.cpp | |
parent | 8e80d17d2b63fa84081236012f31bb10c58d344d (diff) |
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
Diffstat (limited to 'bench/RTreeBench.cpp')
-rw-r--r-- | bench/RTreeBench.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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) { |