commit | 7575bb1c389f96db4123783fcd717f3611b3a8eb | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Mon May 01 13:02:42 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon May 01 18:13:02 2017 +0000 |
tree | ba76ce96b732117155b6fc48c644e9e29f50cd85 | |
parent | fe560a8cc3839b7c4c0a63bdb286fe1e1f89a5dc [diff] |
SkFontMgr::matchFamily should not crash on nullptr. While all systems can resolve a font from just a style request (without a name) almost no systems specify a default font family. BUG=skia:6574 Change-Id: If7c81808b62cd5d8212bce2eb4d9c476c45af80a Reviewed-on: https://skia-review.googlesource.com/14902 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Mike Reed <reed@google.com>