| Index: tests/CachedDecodingPixelRefTest.cpp
|
| diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp
|
| index f984123958a2b8321bcca6550a5ec7fda0ffe703..b2ecb0f3ab0d7cf2abd4e5def7e8e4385627c66f 100644
|
| --- a/tests/CachedDecodingPixelRefTest.cpp
|
| +++ b/tests/CachedDecodingPixelRefTest.cpp
|
| @@ -303,7 +303,7 @@ DEF_TEST(DiscardableAndCachingPixelRef, reporter) {
|
| reporter, kSkDiscardable_PixelRefType, NULL);
|
|
|
| SkAutoTUnref<SkDiscardableMemoryPool> pool(
|
| - SkNEW_ARGS(SkDiscardableMemoryPool, (1, NULL)));
|
| + SkDiscardableMemoryPool::Create(1, NULL));
|
| REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed());
|
| check_pixelref(TestImageGenerator::kFailGetPixels_TestType,
|
| reporter, kSkDiscardable_PixelRefType, pool);
|
|
|