Index: src/core/SkYUVPlanesCache.cpp |
diff --git a/src/core/SkYUVPlanesCache.cpp b/src/core/SkYUVPlanesCache.cpp |
index b113c079743f01b9e12adde16fb7f1c38e2cd31b..f013599cc53bf5bb5843247044267062eb5cdd9d 100644 |
--- a/src/core/SkYUVPlanesCache.cpp |
+++ b/src/core/SkYUVPlanesCache.cpp |
@@ -85,5 +85,5 @@ SkCachedData* SkYUVPlanesCache::FindAndRef(uint32_t genID, Info* info, |
void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, Info* info, |
SkResourceCache* localCache) { |
YUVPlanesKey key(genID); |
- return CHECK_LOCAL(localCache, add, Add, SkNEW_ARGS(YUVPlanesRec, (key, data, info))); |
+ return CHECK_LOCAL(localCache, add, Add, new YUVPlanesRec(key, data, info)); |
} |