Index: include/effects/SkXfermodeImageFilter.h |
diff --git a/include/effects/SkXfermodeImageFilter.h b/include/effects/SkXfermodeImageFilter.h |
index 30a3a5ccd5da25f3eba6eee2b3d5140e26521795..57fd288f24f7c9d7313e33aea66b8efe6d6c7172 100644 |
--- a/include/effects/SkXfermodeImageFilter.h |
+++ b/include/effects/SkXfermodeImageFilter.h |
@@ -27,7 +27,7 @@ public: |
SkImageFilter* foreground = NULL, |
const CropRect* cropRect = NULL) { |
SkImageFilter* inputs[2] = { background, foreground }; |
- return SkNEW_ARGS(SkXfermodeImageFilter, (mode, inputs, cropRect)); |
+ return new SkXfermodeImageFilter(mode, inputs, cropRect); |
} |
SK_TO_STRING_OVERRIDE() |