diff options
author | bungeman <bungeman@google.com> | 2016-05-19 07:43:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-19 07:43:52 -0700 |
commit | de3c3568ee5137fa8752491362893ae1d701d709 (patch) | |
tree | 96ac018d68c15d49f0b5c6690bc92c457f820dad /src/android | |
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
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions