Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: bench/AlternatingColorPatternBench.cpp

Issue 1316123003: Style Change: SkNEW->new; SkDELETE->delete (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-26 (Wednesday) 15:59:00 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/AAClipBench.cpp ('k') | bench/BenchLogger.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);)
« no previous file with comments | « bench/AAClipBench.cpp ('k') | bench/BenchLogger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698