Fixed '#if with no expression' warning/error
git-svn-id: http://skia.googlecode.com/svn/trunk@7840 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
58433de862
commit
ffb91da3e7
@ -62,13 +62,13 @@ SkLruImageCache::~SkLruImageCache() {
|
||||
while (pixels != NULL) {
|
||||
CachedPixels* prev = iter.prev();
|
||||
SkASSERT(!pixels->isLocked());
|
||||
#if SK_DEBUG
|
||||
#ifdef SK_DEBUG
|
||||
fRamUsed -= pixels->getLength();
|
||||
#endif
|
||||
SkDELETE(pixels);
|
||||
pixels = prev;
|
||||
}
|
||||
#if SK_DEBUG
|
||||
#ifdef SK_DEBUG
|
||||
SkASSERT(fRamUsed == 0);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user