diff options
author | 2013-02-25 01:38:01 +0000 | |
---|---|---|
committer | 2013-02-25 01:38:01 +0000 | |
commit | ffb91da3e7bcf3220fe88edda4bb21a833202d82 (patch) | |
tree | 8ec34ec0a21eec44e0a315b78cfc6b1a8fd020a4 /src/lazy/SkLruImageCache.cpp | |
parent | 58433de8627c54ac2d68c65d248d67f48a79179d (diff) |
Fixed '#if with no expression' warning/error
git-svn-id: http://skia.googlecode.com/svn/trunk@7840 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/lazy/SkLruImageCache.cpp')
-rw-r--r-- | src/lazy/SkLruImageCache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lazy/SkLruImageCache.cpp b/src/lazy/SkLruImageCache.cpp index 0f047161ba..62e2953596 100644 --- a/src/lazy/SkLruImageCache.cpp +++ b/src/lazy/SkLruImageCache.cpp @@ -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 } |