Index: include/effects/SkMorphologyImageFilter.h |
diff --git a/include/effects/SkMorphologyImageFilter.h b/include/effects/SkMorphologyImageFilter.h |
index 3a242250cbe7b228edc39e3d5e2e6815e06514d7..8d17609e5fda3d96c42b5bf11ac046ec0e4e7b98 100644 |
--- a/include/effects/SkMorphologyImageFilter.h |
+++ b/include/effects/SkMorphologyImageFilter.h |
@@ -57,7 +57,7 @@ public: |
if (radiusX < 0 || radiusY < 0) { |
return NULL; |
} |
- return SkNEW_ARGS(SkDilateImageFilter, (radiusX, radiusY, input, cropRect)); |
+ return new SkDilateImageFilter(radiusX, radiusY, input, cropRect); |
} |
bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, |
@@ -85,7 +85,7 @@ public: |
if (radiusX < 0 || radiusY < 0) { |
return NULL; |
} |
- return SkNEW_ARGS(SkErodeImageFilter, (radiusX, radiusY, input, cropRect)); |
+ return new SkErodeImageFilter(radiusX, radiusY, input, cropRect); |
} |
bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, |