Index: bench/WritePixelsBench.cpp |
diff --git a/bench/WritePixelsBench.cpp b/bench/WritePixelsBench.cpp |
index 3ee90345fa3080a1c8aacd0731157358c56b2a6a..0b98cf822bdd1a580d78a3412aad3e8b7b0dc658 100644 |
--- a/bench/WritePixelsBench.cpp |
+++ b/bench/WritePixelsBench.cpp |
@@ -71,5 +71,5 @@ private: |
////////////////////////////////////////////////////////////////////////////// |
-DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (kRGBA_8888_SkColorType, kPremul_SkAlphaType)); ) |
-DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (kRGBA_8888_SkColorType, kUnpremul_SkAlphaType)); ) |
+DEF_BENCH(return new WritePixelsBench(kRGBA_8888_SkColorType, kPremul_SkAlphaType);) |
+DEF_BENCH(return new WritePixelsBench(kRGBA_8888_SkColorType, kUnpremul_SkAlphaType);) |