Index: src/effects/SkImageSource.cpp |
diff --git a/src/effects/SkImageSource.cpp b/src/effects/SkImageSource.cpp |
index 8f8c72b75c3a18f8b0f74926546b3eef98a0c35c..2686fcb6c6ca76eedc41c941fda4ed840ee6d0e3 100644 |
--- a/src/effects/SkImageSource.cpp |
+++ b/src/effects/SkImageSource.cpp |
@@ -15,14 +15,14 @@ |
#include "SkString.h" |
SkImageFilter* SkImageSource::Create(const SkImage* image) { |
- return image ? SkNEW_ARGS(SkImageSource, (image)) : nullptr; |
+ return image ? new SkImageSource(image) : nullptr; |
} |
SkImageFilter* SkImageSource::Create(const SkImage* image, |
const SkRect& srcRect, |
const SkRect& dstRect, |
SkFilterQuality filterQuality) { |
- return image ? SkNEW_ARGS(SkImageSource, (image, srcRect, dstRect, filterQuality)) : nullptr; |
+ return image ? new SkImageSource(image, srcRect, dstRect, filterQuality) : nullptr; |
} |
SkImageSource::SkImageSource(const SkImage* image) |