| Index: cc/CCPrioritizedTextureManager.h
|
| diff --git a/cc/CCPrioritizedTextureManager.h b/cc/CCPrioritizedTextureManager.h
|
| index 52b35d68d2b4696100cf9e74c19693b05392af7c..4bb8a3a662da17cbce9b605dff03835cb3d3a298 100644
|
| --- a/cc/CCPrioritizedTextureManager.h
|
| +++ b/cc/CCPrioritizedTextureManager.h
|
| @@ -57,10 +57,11 @@ public:
|
| void clearPriorities();
|
|
|
| void reduceMemoryOnImplThread(size_t limitBytes, CCResourceProvider*);
|
| + bool evictedBackingsExist() const { return !m_evictedBackings.isEmpty(); }
|
| void getEvictedBackings(BackingVector& evictedBackings);
|
| void unlinkEvictedBackings(const BackingVector& evictedBackings);
|
| // Deletes all evicted backings, unlinking them from their owning textures if needed.
|
| - // Returns true if this function to unlinked any backings from their owning texture while
|
| + // Returns true if this function unlinked any backings from their owning texture while
|
| // destroying them.
|
| bool deleteEvictedBackings();
|
|
|
|
|