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:
robertphillips@google.com 2013-02-25 01:38:01 +00:00
parent 58433de862
commit ffb91da3e7

View File

@ -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
}