diff options
author | 2011-12-28 14:59:50 +0000 | |
---|---|---|
committer | 2011-12-28 14:59:50 +0000 | |
commit | 0c00f21fee3f5cfa3aa7e5d46ff94cb8cf340451 (patch) | |
tree | 2a6e633dbd4bcb8bb5cd308caaa667c8163dbf30 /src/core/SkConfig8888.h | |
parent | 6f6e8c39a7b07f8a916a60ad27f17bd13f3c89ad (diff) |
Add SkDEBUGFAIL to clean up use of SkASSERT(!"text");
catch a couple of latent SkASSERT("text") bugs.
http://codereview.appspot.com/5504090/
git-svn-id: http://skia.googlecode.com/svn/trunk@2926 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkConfig8888.h')
-rw-r--r-- | src/core/SkConfig8888.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkConfig8888.h b/src/core/SkConfig8888.h index 5e25f6db2f..fe2f2ccac9 100644 --- a/src/core/SkConfig8888.h +++ b/src/core/SkConfig8888.h @@ -208,7 +208,7 @@ inline void SkCopyBitmapToConfig8888(uint32_t* dstPixels, dstPixels, dstRowBytes, srcBmp); break; default: - SkASSERT(false && "unexpected Config8888"); + SkDEBUGFAIL("unexpected Config8888"); break; } } @@ -251,7 +251,7 @@ inline void SkCopyConfig8888ToBitmap(const SkBitmap& dstBmp, dstBmp, srcPixels, srcRowBytes); break; default: - SkASSERT(false && "unexpected Config8888"); + SkDEBUGFAIL("unexpected Config8888"); break; } } |