| Index: tests/DrawBitmapRectTest.cpp
|
| diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp
|
| index f51bf53cc8d1bf2623a8a0ff2c91126ffb349049..f778480bcb8a5e21a7c192d6244f92951016216c 100644
|
| --- a/tests/DrawBitmapRectTest.cpp
|
| +++ b/tests/DrawBitmapRectTest.cpp
|
| @@ -43,8 +43,8 @@ public:
|
| //
|
| static void test_faulty_pixelref(skiatest::Reporter* reporter) {
|
| // need a cache, but don't expect to use it, so the budget is not critical
|
| - SkAutoTUnref<SkDiscardableMemoryPool> pool(SkNEW_ARGS(SkDiscardableMemoryPool,
|
| - (10 * 1000, NULL)));
|
| + SkAutoTUnref<SkDiscardableMemoryPool> pool(
|
| + SkDiscardableMemoryPool::Create(10 * 1000, NULL));
|
| SkBitmap bm;
|
| bool installSuccess = SkInstallDiscardablePixelRef(SkNEW(FailureImageGenerator), &bm, pool);
|
| REPORTER_ASSERT(reporter, installSuccess);
|
|
|