From b4aab9ae6d27c446af8302b79d15b832c816c633 Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Wed, 16 Aug 2017 10:53:04 -0400 Subject: Replace SkFAIL with SK_ABORT. SkFAIL is a legacy macro which is just SK_ABORT. This CL mechanically changes uses of SkFAIL to SK_ABORT in preparation for its removal. The related sk_throw macro will be changed independently, due to needing to actually clean up its users. Change-Id: Id70b5c111a02d2458dc60c8933f444df27d9cebb Reviewed-on: https://skia-review.googlesource.com/35284 Reviewed-by: Derek Sollenberger Commit-Queue: Ben Wagner --- gm/occludedrrectblur.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gm/occludedrrectblur.cpp') diff --git a/gm/occludedrrectblur.cpp b/gm/occludedrrectblur.cpp index f488f22028..b43f451490 100644 --- a/gm/occludedrrectblur.cpp +++ b/gm/occludedrrectblur.cpp @@ -90,7 +90,7 @@ static void draw_45(SkCanvas* canvas, SkRRect::Corner corner, dir.set(-SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); break; default: - SkFAIL("Invalid shape."); + SK_ABORT("Invalid shape."); } SkRect r = SkRect::MakeWH(kSize, kSize); @@ -196,7 +196,7 @@ static void draw_30_60(SkCanvas* canvas, SkRRect::Corner corner, const SkVector& right = SkRRect::kUpperLeft_Corner; break; default: - SkFAIL("Invalid shape."); + SK_ABORT("Invalid shape."); } SkIRect r; -- cgit v1.2.3