diff options
Diffstat (limited to 'bench/TableBench.cpp')
-rw-r--r-- | bench/TableBench.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/bench/TableBench.cpp b/bench/TableBench.cpp index 8dcefbed5f..0646d26be5 100644 --- a/bench/TableBench.cpp +++ b/bench/TableBench.cpp @@ -28,10 +28,6 @@ public: static const int kNumRows = 48; static const int kNumCols = 32; - TableBench(void* param) - : INHERITED(param) { - } - protected: virtual const char* onGetName() { return "tablebench"; @@ -73,6 +69,4 @@ private: typedef SkBenchmark INHERITED; }; -static SkBenchmark* gFactory(void* p) { return new TableBench(p); } - -static BenchRegistry gRegistry(gFactory); +DEF_BENCH( return new TableBench(); ) |