Index: include/effects/SkColorMatrixFilter.h |
diff --git a/include/effects/SkColorMatrixFilter.h b/include/effects/SkColorMatrixFilter.h |
index a129654cbb51ba451900f15c09f1b1f57cb2513e..9f16643bd629a4210d4f1790437272dd590f7e8d 100644 |
--- a/include/effects/SkColorMatrixFilter.h |
+++ b/include/effects/SkColorMatrixFilter.h |
@@ -14,10 +14,10 @@ |
class SK_API SkColorMatrixFilter : public SkColorFilter { |
public: |
static SkColorMatrixFilter* Create(const SkColorMatrix& cm) { |
- return SkNEW_ARGS(SkColorMatrixFilter, (cm)); |
+ return new SkColorMatrixFilter(cm); |
} |
static SkColorMatrixFilter* Create(const SkScalar array[20]) { |
- return SkNEW_ARGS(SkColorMatrixFilter, (array)); |
+ return new SkColorMatrixFilter(array); |
} |
void filterSpan(const SkPMColor src[], int count, SkPMColor[]) const override; |