Index: bench/TableBench.cpp |
diff --git a/bench/TableBench.cpp b/bench/TableBench.cpp |
index 8dcefbed5f63b2b98ab86cb2ea0aa1fc5b285a5f..0646d26be5558ae81b9ac12f5c1a943d7fe82b5a 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(); ) |