Index: src/codec/SkSwizzler.cpp |
diff --git a/src/codec/SkSwizzler.cpp b/src/codec/SkSwizzler.cpp |
index 8315cc7145a406f698f0f9ca40f91df9b5af2eff..db49fb17d9702e0bda365b34dde660adb208e67c 100644 |
--- a/src/codec/SkSwizzler.cpp |
+++ b/src/codec/SkSwizzler.cpp |
@@ -689,8 +689,8 @@ SkSwizzler* SkSwizzler::CreateSwizzler(SkSwizzler::SrcConfig sc, |
// get sampleX based on srcInfo and dstInfo dimensions |
int sampleX; |
SkScaledCodec::ComputeSampleSize(dstInfo, srcInfo, &sampleX, NULL); |
- |
- return SkNEW_ARGS(SkSwizzler, (proc, ctable, deltaSrc, dstInfo, sampleX)); |
+ |
+ return new SkSwizzler(proc, ctable, deltaSrc, dstInfo, sampleX); |
} |
SkSwizzler::SkSwizzler(RowProc proc, const SkPMColor* ctable, |