diff options
author | Mike Reed <reed@google.com> | 2017-07-11 15:07:08 -0400 |
---|---|---|
committer | Mike Reed <reed@google.com> | 2017-07-11 19:45:04 +0000 |
commit | 7e49d534d71d3e7b053fe6f23dfe018ddbceb45b (patch) | |
tree | f7381846701467385866446cf35191af3a3c1787 /gn/gn_to_bp.py | |
parent | a6cb441fc0fb37c883d79b87cb5d8bd66e5cb2ed (diff) |
check for null surface in test
If the bounds of the blob are empty, we will request a zero-sized surface
which will fail. Just check for that.
Only expect this if the typeface is empty (e.g. faked out for testing)
Bug: skia:
Change-Id: Idcac0e9d4e2a5fe68926a33250015609b5c7e365
Reviewed-on: https://skia-review.googlesource.com/22360
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'gn/gn_to_bp.py')
0 files changed, 0 insertions, 0 deletions