| Index: gm/factory.cpp
|
| diff --git a/gm/factory.cpp b/gm/factory.cpp
|
| index efd817db7dd255e88a4ac63b93568c9b8e4e1653..29cf7eaa075032782c4a30ed304833cf782c2013 100644
|
| --- a/gm/factory.cpp
|
| +++ b/gm/factory.cpp
|
| @@ -35,7 +35,7 @@ protected:
|
| // Create a cache which will boot the pixels out anytime the
|
| // bitmap is unlocked.
|
| SkAutoTUnref<SkDiscardableMemoryPool> pool(
|
| - SkNEW_ARGS(SkDiscardableMemoryPool, (1)));
|
| + SkDiscardableMemoryPool::Create(1));
|
| SkAssertResult(SkInstallDiscardablePixelRef(
|
| SkDecodingImageGenerator::Create(
|
| data, SkDecodingImageGenerator::Options()),
|
|
|