diff options
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-12-28 14:59:50 +0000 |
---|---|---|
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-12-28 14:59:50 +0000 |
commit | 0c00f21fee3f5cfa3aa7e5d46ff94cb8cf340451 (patch) | |
tree | 2a6e633dbd4bcb8bb5cd308caaa667c8163dbf30 /src/gpu | |
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/gpu')
-rw-r--r-- | src/gpu/SkGr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp index 0205dd6ddb..cab9d46ebc 100644 --- a/src/gpu/SkGr.cpp +++ b/src/gpu/SkGr.cpp @@ -26,7 +26,7 @@ static void build_compressed_data(void* buffer, const SkBitmap& bitmap) { SkAutoLockPixels apl(bitmap); if (!bitmap.readyToDraw()) { - SkASSERT(!"bitmap not ready to draw!"); + SkDEBUGFAIL("bitmap not ready to draw!"); return; } |