commit | d936f63c35fb7dfb2b6c20802206adbfc3cc48d0 | [log] [tgz] |
---|---|---|
author | benjaminwagner <benjaminwagner@google.com> | Tue Feb 23 10:44:31 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Feb 23 10:44:32 2016 -0800 |
tree | b4c2eb1ce6e6db5ec9f2cde82f98988fd8781f1d | |
parent | 246ba3a8b488eb1cecb98fa0cd657b62c9801a51 [diff] |
Simplify and combine SkDrawCacheProc and SkMeasureCacheProc to SkPaint::GlyphCacheProc. All callers of (the result of) SkPaint::getDrawCacheProc were passing zero as the last two arguments. This is the same as (the result of) SkPaint::getMeasureCacheProc(true). Per bungeman, make this typedef a member of SkPaint. Although the typedef is technically public, the only uses are private, so this is not really an API change. TBR=reed GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1718423002 Review URL: https://codereview.chromium.org/1718423002