| Index: src/gpu/GrResourceCache.cpp
|
| diff --git a/src/gpu/GrResourceCache.cpp b/src/gpu/GrResourceCache.cpp
|
| index e3a17f05c5fa6a88ce05a3ddfeb070ec88f1d556..8a21002e1c5fe17575548281dd7917911011db44 100644
|
| --- a/src/gpu/GrResourceCache.cpp
|
| +++ b/src/gpu/GrResourceCache.cpp
|
| @@ -267,7 +267,7 @@ void GrResourceCache::makeExclusive(GrResourceCacheEntry* entry) {
|
| void GrResourceCache::removeInvalidResource(GrResourceCacheEntry* entry) {
|
| // If the resource went invalid while it was detached then purge it
|
| // This can happen when a 3D context was lost,
|
| - // the client called GrContext::contextDestroyed() to notify Gr,
|
| + // the client called GrContext::abandonContext() to notify Gr,
|
| // and then later an SkGpuDevice's destructor releases its backing
|
| // texture (which was invalidated at contextDestroyed time).
|
| // TODO: Safely delete the GrResourceCacheEntry as well.
|
|
|