aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/TableBench.cpp
diff options
context:
space:
mode:
authorGravatar tfarina <tfarina@chromium.org>2014-06-19 12:32:29 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-19 12:32:29 -0700
commitf168b86d7fafc5c20c87bebc6fd393cb17e120ca (patch)
tree9a1b1cff3725cc6cc030657fd83b5dca12137d86 /bench/TableBench.cpp
parent8e80d17d2b63fa84081236012f31bb10c58d344d (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/TableBench.cpp')
-rw-r--r--bench/TableBench.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/bench/TableBench.cpp b/bench/TableBench.cpp
index ce5c3d293d..a99e03b513 100644
--- a/bench/TableBench.cpp
+++ b/bench/TableBench.cpp
@@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
-#include "SkBenchmark.h"
+#include "Benchmark.h"
#include "SkCanvas.h"
#include "SkRect.h"
@@ -23,7 +23,7 @@ static const SkScalar kCellHeight = SkIntToScalar(10);
// 2&4 are then drawn grey. Areas 2&3 are thus double drawn while area 4 is
// triple drawn.
// This trio of drawRects is then repeat for the next cell.
-class TableBench : public SkBenchmark {
+class TableBench : public Benchmark {
public:
static const int kNumRows = 48;
static const int kNumCols = 32;
@@ -66,7 +66,7 @@ protected:
}
private:
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
DEF_BENCH( return new TableBench(); )