diff options
Diffstat (limited to 'bench/RotatedRectBench.cpp')
-rw-r--r-- | bench/RotatedRectBench.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bench/RotatedRectBench.cpp b/bench/RotatedRectBench.cpp index d9ee5823bf..6a11c2305c 100644 --- a/bench/RotatedRectBench.cpp +++ b/bench/RotatedRectBench.cpp @@ -35,7 +35,7 @@ static inline SkColor start_color(ColorType ct) { case kChangingTransparent_ColorType: return 0x80A07040; } - SkFAIL("Shouldn't reach here."); + SK_ABORT("Shouldn't reach here."); return 0; } @@ -52,9 +52,9 @@ static inline SkColor advance_color(SkColor old, ColorType ct, int step) { case kChangingTransparent_ColorType: return (0x00FFFFFF & (old + 0x00010307)) | 0x80000000; case kAlternatingOpaqueAndTransparent_ColorType: - SkFAIL("Can't get here"); + SK_ABORT("Can't get here"); } - SkFAIL("Shouldn't reach here."); + SK_ABORT("Shouldn't reach here."); return 0; } |