aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/all_bitmap_configs.cpp
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2017-08-16 10:53:04 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-16 15:37:54 +0000
commitb4aab9ae6d27c446af8302b79d15b832c816c633 (patch)
tree27e7f87a7a5e3d61990bc2742d9b9f167d26e0c3 /gm/all_bitmap_configs.cpp
parentedf3dc094b0fc55bfc932539da1127484051b474 (diff)
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 <djsollen@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'gm/all_bitmap_configs.cpp')
-rw-r--r--gm/all_bitmap_configs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/all_bitmap_configs.cpp b/gm/all_bitmap_configs.cpp
index 32fb86c9cd..699a55bfd2 100644
--- a/gm/all_bitmap_configs.cpp
+++ b/gm/all_bitmap_configs.cpp
@@ -195,7 +195,7 @@ static uint32_t make_pixel(int x, int y, SkAlphaType alphaType) {
component = 0xFF;
break;
default:
- SkFAIL("Should not get here - invalid alpha type");
+ SK_ABORT("Should not get here - invalid alpha type");
return 0xFF000000;
}
return alpha << 24 | component;