diff options
Diffstat (limited to 'tests/ResourceCacheTest.cpp')
-rw-r--r-- | tests/ResourceCacheTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp index f98aaf1a4d..7b10716e68 100644 --- a/tests/ResourceCacheTest.cpp +++ b/tests/ResourceCacheTest.cpp @@ -269,7 +269,7 @@ static void test_budgeting(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, scratch->gpuMemorySize() + content->gpuMemorySize() == cache2->getBudgetedResourceBytes()); - // Our refs mean that the resources are non purgable. + // Our refs mean that the resources are non purgeable. cache2->purgeAllUnlocked(); REPORTER_ASSERT(reporter, 4 == cache2->getResourceCount()); REPORTER_ASSERT(reporter, scratch->gpuMemorySize() + content->gpuMemorySize() + @@ -472,7 +472,7 @@ static void test_duplicate_scratch_key(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() == cache2->getResourceBytes()); - // Our refs mean that the resources are non purgable. + // Our refs mean that the resources are non purgeable. cache2->purgeAllUnlocked(); REPORTER_ASSERT(reporter, 2 == TestResource::NumAlive()); REPORTER_ASSERT(reporter, 2 == cache2->getResourceCount()); @@ -483,7 +483,7 @@ static void test_duplicate_scratch_key(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, 2 == TestResource::NumAlive()); SkDEBUGCODE(REPORTER_ASSERT(reporter, 2 == cache2->countScratchEntriesForKey(scratchKey));) - // Purge again. This time resources should be purgable. + // Purge again. This time resources should be purgeable. cache2->purgeAllUnlocked(); REPORTER_ASSERT(reporter, 0 == TestResource::NumAlive()); REPORTER_ASSERT(reporter, 0 == cache2->getResourceCount()); |