Index: bench/AlternatingColorPatternBench.cpp |
diff --git a/bench/AlternatingColorPatternBench.cpp b/bench/AlternatingColorPatternBench.cpp |
index cbf50344dc4909c2a81a0c0c686bcabd1bf516c5..08a28ea3dc6cd537b67d18a266a9ccf93c3b3fc2 100644 |
--- a/bench/AlternatingColorPatternBench.cpp |
+++ b/bench/AlternatingColorPatternBench.cpp |
@@ -169,33 +169,32 @@ private: |
typedef Benchmark INHERITED; |
}; |
-DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, |
- (kWhite_ColorPattern, kWhite_ColorPattern, |
- kPath_DrawType)); ) |
-DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, |
- (kBlue_ColorPattern, kBlue_ColorPattern, |
- kPath_DrawType)); ) |
-DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, |
- (kWhite_ColorPattern, kBlue_ColorPattern, |
- kPath_DrawType)); ) |
- |
-DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, |
- (kOpaqueBitmap_ColorPattern, kOpaqueBitmap_ColorPattern, |
- kPath_DrawType)); ) |
-DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, |
- (kAlphaBitmap_ColorPattern, kAlphaBitmap_ColorPattern, |
- kPath_DrawType)); ) |
-DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, |
- (kOpaqueBitmap_ColorPattern, kAlphaBitmap_ColorPattern, |
- kPath_DrawType)); ) |
- |
-DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, |
- (kOpaqueBitmap_ColorPattern, kOpaqueBitmap_ColorPattern, |
- kRect_DrawType)); ) |
-DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, |
- (kAlphaBitmap_ColorPattern, kAlphaBitmap_ColorPattern, |
- kRect_DrawType)); ) |
-DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, |
- (kOpaqueBitmap_ColorPattern, kAlphaBitmap_ColorPattern, |
- kRect_DrawType)); ) |
- |
+DEF_BENCH(return new AlternatingColorPatternBench(kWhite_ColorPattern, |
+ kWhite_ColorPattern, |
+ kPath_DrawType);) |
+DEF_BENCH(return new AlternatingColorPatternBench(kBlue_ColorPattern, |
+ kBlue_ColorPattern, |
+ kPath_DrawType);) |
+DEF_BENCH(return new AlternatingColorPatternBench(kWhite_ColorPattern, |
+ kBlue_ColorPattern, |
+ kPath_DrawType);) |
+ |
+DEF_BENCH(return new AlternatingColorPatternBench(kOpaqueBitmap_ColorPattern, |
+ kOpaqueBitmap_ColorPattern, |
+ kPath_DrawType);) |
+DEF_BENCH(return new AlternatingColorPatternBench(kAlphaBitmap_ColorPattern, |
+ kAlphaBitmap_ColorPattern, |
+ kPath_DrawType);) |
+DEF_BENCH(return new AlternatingColorPatternBench(kOpaqueBitmap_ColorPattern, |
+ kAlphaBitmap_ColorPattern, |
+ kPath_DrawType);) |
+ |
+DEF_BENCH(return new AlternatingColorPatternBench(kOpaqueBitmap_ColorPattern, |
+ kOpaqueBitmap_ColorPattern, |
+ kRect_DrawType);) |
+DEF_BENCH(return new AlternatingColorPatternBench(kAlphaBitmap_ColorPattern, |
+ kAlphaBitmap_ColorPattern, |
+ kRect_DrawType);) |
+DEF_BENCH(return new AlternatingColorPatternBench(kOpaqueBitmap_ColorPattern, |
+ kAlphaBitmap_ColorPattern, |
+ kRect_DrawType);) |