From 385fe4d4b62d7d1dd76116dd570df3290a2f487b Mon Sep 17 00:00:00 2001 From: halcanary Date: Wed, 26 Aug 2015 13:07:48 -0700 Subject: Style Change: SkNEW->new; SkDELETE->delete DOCS_PREVIEW= https://skia.org/?cl=1316123003 Review URL: https://codereview.chromium.org/1316123003 --- bench/ColorPrivBench.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'bench/ColorPrivBench.cpp') diff --git a/bench/ColorPrivBench.cpp b/bench/ColorPrivBench.cpp index e6c68b5909..9c8accebc9 100644 --- a/bench/ColorPrivBench.cpp +++ b/bench/ColorPrivBench.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2013 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ #include "Benchmark.h" #include "SkColorPriv.h" #include "SkRandom.h" @@ -74,8 +80,8 @@ private: }; #define COMMA , -DEF_BENCH( return SkNEW(FourByteInterpBench); ) -DEF_BENCH( return SkNEW(FourByteInterpBench); ) -DEF_BENCH( return SkNEW(FourByteInterpBench); ) -DEF_BENCH( return SkNEW(FourByteInterpBench); ) +DEF_BENCH(return (new FourByteInterpBench);) +DEF_BENCH(return (new FourByteInterpBench);) +DEF_BENCH(return (new FourByteInterpBench);) +DEF_BENCH(return (new FourByteInterpBench);) #undef COMMA -- cgit v1.2.3