Index: tests/ResourceCacheTest.cpp |
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp |
index 9800093cd637a64b25cb20732d7a8e348bce7974..45e53af155dc0805430c349ca53777e4a7d37ad1 100644 |
--- a/tests/ResourceCacheTest.cpp |
+++ b/tests/ResourceCacheTest.cpp |
@@ -89,7 +89,7 @@ public: |
if (fToDelete) { |
// Breaks our little 2-element cycle below. |
fToDelete->setDeleteWhenDestroyed(NULL, NULL); |
- fCache->deleteResource(fToDelete->getCacheEntry()); |
+ fCache->deleteResource(fToDelete->cacheAccess().getCacheEntry()); |
} |
this->release(); |
} |
@@ -345,7 +345,7 @@ static void test_cache_delete_on_destruction(skiatest::Reporter* reporter) { |
a->unref(); |
b->unref(); |
- cache->deleteResource(a->getCacheEntry()); |
+ cache->deleteResource(a->cacheAccess().getCacheEntry()); |
REPORTER_ASSERT(reporter, 0 == TestResource::NumAlive()); |
} |
} |