diff options
author | 2015-01-23 12:47:59 -0800 | |
---|---|---|
committer | 2015-01-23 12:47:59 -0800 | |
commit | 63c992f6c05ea728b5386de61d279f10eb7e08d9 (patch) | |
tree | 0ca9b96baedd9525e4def9a7dd9651c9dd773b47 /tests | |
parent | 6a144345d742a53ffb15bbd83f2718022fca8df5 (diff) |
Fix the speeling of "purgeable" in Gr code
TBR=robertphillips@google.com
Review URL: https://codereview.chromium.org/874693002
Diffstat (limited to 'tests')
-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()); |