Index: bench/LineBench.cpp |
diff --git a/bench/LineBench.cpp b/bench/LineBench.cpp |
index 7a54d3cc4a7648512208cbcabafc46818c5b7af5..e69a40a94c7fca73930602003550060e9eaee20b 100644 |
--- a/bench/LineBench.cpp |
+++ b/bench/LineBench.cpp |
@@ -26,7 +26,7 @@ class LineBench : public SkBenchmark { |
SkPoint fPts[PTS]; |
public: |
- LineBench(void* param, SkScalar width, bool doAA) : INHERITED(param) { |
+ LineBench(SkScalar width, bool doAA) { |
fStrokeWidth = width; |
fDoAA = doAA; |
fName.printf("lines_%g_%s", width, doAA ? "AA" : "BW"); |
@@ -59,8 +59,8 @@ private: |
typedef SkBenchmark INHERITED; |
}; |
-DEF_BENCH(return new LineBench(p, 0, false);) |
-DEF_BENCH(return new LineBench(p, SK_Scalar1, false);) |
-DEF_BENCH(return new LineBench(p, 0, true);) |
-DEF_BENCH(return new LineBench(p, SK_Scalar1/2, true);) |
-DEF_BENCH(return new LineBench(p, SK_Scalar1, true);) |
+DEF_BENCH(return new LineBench(0, false);) |
+DEF_BENCH(return new LineBench(SK_Scalar1, false);) |
+DEF_BENCH(return new LineBench(0, true);) |
+DEF_BENCH(return new LineBench(SK_Scalar1/2, true);) |
+DEF_BENCH(return new LineBench(SK_Scalar1, true);) |