Index: bench/MutexBench.cpp |
diff --git a/bench/MutexBench.cpp b/bench/MutexBench.cpp |
index 5a7058d5e02c578b34f809a0df6905178883f9f8..1d037ec1cd27da247e63c012c641361315918dc5 100644 |
--- a/bench/MutexBench.cpp |
+++ b/bench/MutexBench.cpp |
@@ -9,7 +9,7 @@ |
class MutexBench : public SkBenchmark { |
public: |
- MutexBench(void* param) : INHERITED(param) { |
+ MutexBench() { |
fIsRendering = false; |
} |
protected: |
@@ -31,6 +31,4 @@ private: |
/////////////////////////////////////////////////////////////////////////////// |
-static SkBenchmark* Fact(void* p) { return new MutexBench(p); } |
- |
-static BenchRegistry gReg01(Fact); |
+DEF_BENCH( return new MutexBench(); ) |