commit | de3c3568ee5137fa8752491362893ae1d701d709 | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Thu May 19 07:43:52 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu May 19 07:43:52 2016 -0700 |
tree | 96ac018d68c15d49f0b5c6690bc92c457f820dad | |
parent | 0876158ecddf5966beb839dcf5da514790685681 [diff] |
Assert complex precondition in SkGlyphCache::Visit. SkGlyphCache::Visit takes a descriptor and a typeface, but it is implied that the fFontID in the descriptor is the id of the typeface. This seems to be handled correctly by current callers but this is a subtle requirement which if violated could lead to subtle bugs. Review-Url: https://codereview.chromium.org/1992053002