Index: bench/ReadPixBench.cpp |
diff --git a/bench/ReadPixBench.cpp b/bench/ReadPixBench.cpp |
index 505ff32269485386332dcac3bd0913e8ca5235e2..f62917b6ea1640dca591591b2bd5c12f0533d9e5 100644 |
--- a/bench/ReadPixBench.cpp |
+++ b/bench/ReadPixBench.cpp |
@@ -17,7 +17,7 @@ |
*/ |
class ReadPixBench : public SkBenchmark { |
public: |
- ReadPixBench(void* param) : INHERITED(param) {} |
+ ReadPixBench() {} |
protected: |
virtual const char* onGetName() SK_OVERRIDE { |
@@ -64,5 +64,4 @@ private: |
//////////////////////////////////////////////////////////////////////////////// |
-static SkBenchmark* fact(void* p) { return new ReadPixBench(p); } |
-static BenchRegistry gReg(fact); |
+DEF_BENCH( return new ReadPixBench(); ) |