Index: src/gpu/SkGrPixelRef.cpp |
diff --git a/src/gpu/SkGrPixelRef.cpp b/src/gpu/SkGrPixelRef.cpp |
index 21b999f6afaa6e14336e56a650126d7f080a7a55..50b1269b378fa269b6f19712d1afb069b205a9db 100644 |
--- a/src/gpu/SkGrPixelRef.cpp |
+++ b/src/gpu/SkGrPixelRef.cpp |
@@ -90,7 +90,7 @@ static SkGrPixelRef* copy_to_new_texture_pixelref(GrTexture* texture, SkColorTyp |
SkImageInfo info = SkImageInfo::Make(desc.fWidth, desc.fHeight, dstCT, kPremul_SkAlphaType, |
dstPT); |
- SkGrPixelRef* pixelRef = SkNEW_ARGS(SkGrPixelRef, (info, dst)); |
+ SkGrPixelRef* pixelRef = new SkGrPixelRef(info, dst); |
SkSafeUnref(dst); |
return pixelRef; |
} |