| Index: include/effects/SkBitmapSource.h
|
| diff --git a/include/effects/SkBitmapSource.h b/include/effects/SkBitmapSource.h
|
| index e4281c9619aa11ba9ea78f50552a3eaecbd29a0c..38b13020eb88bfc17932ad73d8cecdd16598dc07 100644
|
| --- a/include/effects/SkBitmapSource.h
|
| +++ b/include/effects/SkBitmapSource.h
|
| @@ -13,13 +13,11 @@
|
|
|
| class SK_API SkBitmapSource : public SkImageFilter {
|
| public:
|
| - static SkBitmapSource* Create(const SkBitmap& bitmap) {
|
| - return SkNEW_ARGS(SkBitmapSource, (bitmap));
|
| - }
|
| + static SkBitmapSource* Create(const SkBitmap& bitmap) { return new SkBitmapSource(bitmap); }
|
| static SkBitmapSource* Create(const SkBitmap& bitmap,
|
| const SkRect& srcRect, const SkRect& dstRect,
|
| SkFilterQuality filterQuality = kHigh_SkFilterQuality) {
|
| - return SkNEW_ARGS(SkBitmapSource, (bitmap, srcRect, dstRect, filterQuality));
|
| + return new SkBitmapSource(bitmap, srcRect, dstRect, filterQuality);
|
| }
|
| void computeFastBounds(const SkRect& src, SkRect* dst) const override;
|
|
|
|
|