commit | f2b340fc885ad2a12d2d73974eff9c8f4c94192c | [log] [tgz] |
---|---|---|
author | djsollen <djsollen@google.com> | Fri Jan 29 08:51:04 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Jan 29 08:51:04 2016 -0800 |
tree | 1fbe8cefea121d557efb099ceea8c5fae0ac5e1e | |
parent | 2a1d401bf2d500bab225b78a20cb6f16b2c67efb [diff] [blame] |
Consolidate SK_CRASH and sk_throw into SK_ABORT TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1648343003 Review URL: https://codereview.chromium.org/1648343003
diff --git a/tools/sk_tool_utils_font.cpp b/tools/sk_tool_utils_font.cpp index af52b37..0f8c96f 100644 --- a/tools/sk_tool_utils_font.cpp +++ b/tools/sk_tool_utils_font.cpp
@@ -42,7 +42,7 @@ } if (!fontData) { // Once all legacy callers to portable fonts are converted, replace this with - // SK_CRASH(); + // SK_ABORT(); SkDebugf("missing %s %d\n", name, style); // If we called SkTypeface::CreateFromName() here we'd recurse infinitely, // so we reimplement its core logic here inline without the recursive aspect.