Index: include/effects/SkOffsetImageFilter.h |
diff --git a/include/effects/SkOffsetImageFilter.h b/include/effects/SkOffsetImageFilter.h |
index 17c9627f83e6f4263de78289e88f5c1c304356dd..30e380d89b03bb00dc68787530da5f817b936109 100644 |
--- a/include/effects/SkOffsetImageFilter.h |
+++ b/include/effects/SkOffsetImageFilter.h |
@@ -20,7 +20,7 @@ public: |
if (!SkScalarIsFinite(dx) || !SkScalarIsFinite(dy)) { |
return NULL; |
} |
- return SkNEW_ARGS(SkOffsetImageFilter, (dx, dy, input, cropRect)); |
+ return new SkOffsetImageFilter(dx, dy, input, cropRect); |
} |
void computeFastBounds(const SkRect& src, SkRect* dst) const override; |
SK_TO_STRING_OVERRIDE() |