Index: src/codec/SkMasks.cpp |
diff --git a/src/codec/SkMasks.cpp b/src/codec/SkMasks.cpp |
index 4b32c61dbe8b816b4659a0a891084501baa9d25d..b136c59edcfbea2aa4805ef2f4903342689e5634 100644 |
--- a/src/codec/SkMasks.cpp |
+++ b/src/codec/SkMasks.cpp |
@@ -148,7 +148,7 @@ SkMasks* SkMasks::CreateMasks(InputMasks masks, uint32_t bitsPerPixel) { |
const MaskInfo blue = process_mask(masks.blue, bitsPerPixel); |
const MaskInfo alpha = process_mask(masks.alpha, bitsPerPixel); |
- return SkNEW_ARGS(SkMasks, (red, green, blue, alpha)); |
+ return new SkMasks(red, green, blue, alpha); |
} |