aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkTestImageFilters.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/effects/SkTestImageFilters.h')
-rw-r--r--include/effects/SkTestImageFilters.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/effects/SkTestImageFilters.h b/include/effects/SkTestImageFilters.h
index 233d7b2fd3..4fa0c430f3 100644
--- a/include/effects/SkTestImageFilters.h
+++ b/include/effects/SkTestImageFilters.h
@@ -22,7 +22,7 @@ public:
if (scale > SK_Scalar1 || scale <= 0) {
return NULL;
}
- return SkNEW_ARGS(SkDownSampleImageFilter, (scale, input));
+ return new SkDownSampleImageFilter(scale, input);
}
SK_TO_STRING_OVERRIDE()