The rectangle could be empty but not all zeroes.
BUG=skia:2379
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
R=robertphillips@google.com
Author: siglesias@igalia.com
Review URL: https://codereview.chromium.org/
223213005
git-svn-id: http://skia.googlecode.com/svn/trunk@14041
2bbb7eff-a529-9590-31e7-
b0007b416f81
case kEmpty_Type:
SkASSERT(fRect.isEmpty());
SkASSERT(allRadiiZero && allRadiiSame && allCornersSquare);
-
- SkASSERT(0 == fRect.fLeft && 0 == fRect.fTop &&
- 0 == fRect.fRight && 0 == fRect.fBottom);
break;
case kRect_Type:
SkASSERT(!fRect.isEmpty());