Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 715b4f4043a3a0febdb763367ebeab892b8d33b3..3cefec267ab5e019fc7d7ea8fcc55e6b6e5d4550 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -247,8 +247,8 @@ SkImage* SkImage::NewFromBitmap(const SkBitmap& bm) { |
unrefCopy.reset(tex); |
} |
const SkImageInfo info = bm.info(); |
- return SkNEW_ARGS(SkImage_Gpu, (info.width(), info.height(), bm.getGenerationID(), |
- info.alphaType(), tex, 0, SkSurface::kNo_Budgeted)); |
+ return new SkImage_Gpu(info.width(), info.height(), bm.getGenerationID(), info.alphaType(), |
+ tex, 0, SkSurface::kNo_Budgeted); |
} |
#endif |