Index: bench/WritePixelsBench.cpp |
diff --git a/bench/WritePixelsBench.cpp b/bench/WritePixelsBench.cpp |
index a9b6763f152755feead2642954c8905ab44b6aae..949b5bc4c2a52248ffdebce7205707187dc008cf 100644 |
--- a/bench/WritePixelsBench.cpp |
+++ b/bench/WritePixelsBench.cpp |
@@ -13,9 +13,8 @@ |
class WritePixelsBench : public SkBenchmark { |
public: |
- WritePixelsBench(void* param, SkCanvas::Config8888 config) |
- : INHERITED(param) |
- , fConfig(config) |
+ WritePixelsBench(SkCanvas::Config8888 config) |
+ : fConfig(config) |
, fName("writepix") { |
switch (config) { |
case SkCanvas::kNative_Premul_Config8888: |
@@ -70,5 +69,5 @@ private: |
////////////////////////////////////////////////////////////////////////////// |
-DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (p, SkCanvas::kRGBA_Premul_Config8888)); ) |
-DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (p, SkCanvas::kRGBA_Unpremul_Config8888)); ) |
+DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (SkCanvas::kRGBA_Premul_Config8888)); ) |
+DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (SkCanvas::kRGBA_Unpremul_Config8888)); ) |