Index: src/effects/SkLerpXfermode.cpp |
diff --git a/src/effects/SkLerpXfermode.cpp b/src/effects/SkLerpXfermode.cpp |
index 76c97ef9acbd0e7086f9c3f0766828fa48b82259..a9b0d9e3e75f379d7ae3b34d033593e1f7b72e2d 100644 |
--- a/src/effects/SkLerpXfermode.cpp |
+++ b/src/effects/SkLerpXfermode.cpp |
@@ -18,7 +18,7 @@ SkXfermode* SkLerpXfermode::Create(SkScalar scale) { |
} else if (scale256 <= 0) { |
return SkXfermode::Create(SkXfermode::kDst_Mode); |
} |
- return SkNEW_ARGS(SkLerpXfermode, (scale256)); |
+ return new SkLerpXfermode(scale256); |
} |
SkLerpXfermode::SkLerpXfermode(unsigned scale256) : fScale256(scale256) {} |
@@ -28,7 +28,7 @@ void SkLerpXfermode::flatten(SkWriteBuffer& buffer) const { |
} |
SkFlattenable* SkLerpXfermode::CreateProc(SkReadBuffer& buffer) { |
- return SkNEW_ARGS(SkLerpXfermode, (buffer.readUInt())); |
+ return new SkLerpXfermode(buffer.readUInt()); |
} |
void SkLerpXfermode::xfer32(SkPMColor dst[], const SkPMColor src[], int count, |