aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/VertBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/VertBench.cpp')
-rw-r--r--bench/VertBench.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/bench/VertBench.cpp b/bench/VertBench.cpp
index 79dcc9ade2..39602b07aa 100644
--- a/bench/VertBench.cpp
+++ b/bench/VertBench.cpp
@@ -39,7 +39,7 @@ class VertBench : public SkBenchmark {
}
public:
- VertBench(void* param) : INHERITED(param) {
+ VertBench() {
const SkScalar dx = SkIntToScalar(W) / COL;
const SkScalar dy = SkIntToScalar(H) / COL;
@@ -92,6 +92,4 @@ private:
///////////////////////////////////////////////////////////////////////////////
-static SkBenchmark* Fact(void* p) { return SkNEW_ARGS(VertBench, (p)); }
-
-static BenchRegistry gReg(Fact);
+DEF_BENCH( return SkNEW_ARGS(VertBench, ()); )