aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CachedDataTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CachedDataTest.cpp')
-rw-r--r--tests/CachedDataTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CachedDataTest.cpp b/tests/CachedDataTest.cpp
index 25024806de..b2d47855bd 100644
--- a/tests/CachedDataTest.cpp
+++ b/tests/CachedDataTest.cpp
@@ -72,7 +72,7 @@ static SkCachedData* test_locking(skiatest::Reporter* reporter,
* and when the cache is.
*/
DEF_TEST(CachedData, reporter) {
- SkAutoTUnref<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Create(1000));
+ sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Create(1000));
for (int useDiscardable = 0; useDiscardable <= 1; ++useDiscardable) {
const size_t size = 100;