Index: src/core/SkRegionPriv.h |
diff --git a/src/core/SkRegionPriv.h b/src/core/SkRegionPriv.h |
index 160c55d55501fabd5e014afeabd8e57d16edff45..c9633c7ad6e5c1f0dc050e699b9a69fd7cbb4341 100644 |
--- a/src/core/SkRegionPriv.h |
+++ b/src/core/SkRegionPriv.h |
@@ -66,7 +66,7 @@ public: |
SkASSERT(count >= SkRegion::kRectRegionRuns); |
const int64_t size = sk_64_mul(count, sizeof(RunType)) + sizeof(RunHead); |
- if (count < 0 || !sk_64_isS32(size)) { SK_CRASH(); } |
+ if (count < 0 || !sk_64_isS32(size)) { SK_ABORT("Invalid Size"); } |
RunHead* head = (RunHead*)sk_malloc_throw(size); |
head->fRefCnt = 1; |