Index: src/core/SkMaskCache.cpp |
diff --git a/src/core/SkMaskCache.cpp b/src/core/SkMaskCache.cpp |
index 7dc4e4e3b880862e6c6be265b1af8c2f7ea7ff36..cc729c3bbbbcd68f28455b77baffecf0aee25f8e 100644 |
--- a/src/core/SkMaskCache.cpp |
+++ b/src/core/SkMaskCache.cpp |
@@ -91,7 +91,7 @@ void SkMaskCache::Add(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, |
const SkRRect& rrect, const SkMask& mask, SkCachedData* data, |
SkResourceCache* localCache) { |
RRectBlurKey key(sigma, rrect, style, quality); |
- return CHECK_LOCAL(localCache, add, Add, SkNEW_ARGS(RRectBlurRec, (key, mask, data))); |
+ return CHECK_LOCAL(localCache, add, Add, new RRectBlurRec(key, mask, data)); |
} |
////////////////////////////////////////////////////////////////////////////////////////// |
@@ -187,5 +187,5 @@ void SkMaskCache::Add(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, |
const SkRect rects[], int count, const SkMask& mask, SkCachedData* data, |
SkResourceCache* localCache) { |
RectsBlurKey key(sigma, style, quality, rects, count); |
- return CHECK_LOCAL(localCache, add, Add, SkNEW_ARGS(RectsBlurRec, (key, mask, data))); |
+ return CHECK_LOCAL(localCache, add, Add, new RectsBlurRec(key, mask, data)); |
} |