| Index: src/lazy/SkDiscardableMemoryPool.cpp
|
| diff --git a/src/lazy/SkDiscardableMemoryPool.cpp b/src/lazy/SkDiscardableMemoryPool.cpp
|
| index 6c13951aa865938e953e549b4b5ada78834e674c..f8f44d0c07cb2869b92a55ee2e0f047e9808a6fc 100644
|
| --- a/src/lazy/SkDiscardableMemoryPool.cpp
|
| +++ b/src/lazy/SkDiscardableMemoryPool.cpp
|
| @@ -155,7 +155,7 @@ void DiscardableMemoryPool::dumpDownTo(size_t budget) {
|
| typedef SkTInternalLList<PoolDiscardableMemory>::Iter Iter;
|
| Iter iter;
|
| PoolDiscardableMemory* cur = iter.init(fList, Iter::kTail_IterStart);
|
| - while ((fUsed > budget) && (NULL != cur)) {
|
| + while ((fUsed > budget) && (cur)) {
|
| if (!cur->fLocked) {
|
| PoolDiscardableMemory* dm = cur;
|
| SkASSERT(dm->fPointer != NULL);
|
|
|