Index: src/core/SkMipMap.cpp |
diff --git a/src/core/SkMipMap.cpp b/src/core/SkMipMap.cpp |
index 032a60d0f1f6b420cc674b389f0ae7db8f178cb7..8a62f88ab2a65c992c33c97bb5de45c0fbedd0e1 100644 |
--- a/src/core/SkMipMap.cpp |
+++ b/src/core/SkMipMap.cpp |
@@ -250,9 +250,9 @@ SkMipMap* SkMipMap::Build(const SkBitmap& src, SkDiscardableFactoryProc fact) { |
if (NULL == dm) { |
return NULL; |
} |
- mipmap = SkNEW_ARGS(SkMipMap, (storageSize, dm)); |
+ mipmap = new SkMipMap(storageSize, dm); |
} else { |
- mipmap = SkNEW_ARGS(SkMipMap, (sk_malloc_throw(storageSize), storageSize)); |
+ mipmap = new SkMipMap(sk_malloc_throw(storageSize), storageSize); |
} |
// init |