commit | 0c00f21fee3f5cfa3aa7e5d46ff94cb8cf340451 | [log] [tgz] |
---|---|---|
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Dec 28 14:59:50 2011 +0000 |
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Dec 28 14:59:50 2011 +0000 |
tree | 2a6e633dbd4bcb8bb5cd308caaa667c8163dbf30 | |
parent | 6f6e8c39a7b07f8a916a60ad27f17bd13f3c89ad [diff] [blame] |
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
diff --git a/src/core/SkFloat.cpp b/src/core/SkFloat.cpp index b39e7b9..ffa5d9a 100644 --- a/src/core/SkFloat.cpp +++ b/src/core/SkFloat.cpp
@@ -216,7 +216,7 @@ { if (packed < 0) { - SkASSERT(!"can't sqrt a negative number"); + SkDEBUGFAIL("can't sqrt a negative number"); return 0; }