Index: tests/DiscardableMemoryPoolTest.cpp |
diff --git a/tests/DiscardableMemoryPoolTest.cpp b/tests/DiscardableMemoryPoolTest.cpp |
index dc927bd4b782e4a8db3d1eb2321a20194638a4bf..e0145bc5ab99aee82b145a5ba512c6457084114c 100644 |
--- a/tests/DiscardableMemoryPoolTest.cpp |
+++ b/tests/DiscardableMemoryPoolTest.cpp |
@@ -10,7 +10,7 @@ |
DEF_TEST(DiscardableMemoryPool, reporter) { |
SkAutoTUnref<SkDiscardableMemoryPool> pool( |
- SkNEW_ARGS(SkDiscardableMemoryPool, (1, NULL))); |
+ SkDiscardableMemoryPool::Create(1, NULL)); |
pool->setRAMBudget(3); |
REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed()); |