diff options
author | Herb Derby <herb@google.com> | 2018-01-09 12:34:11 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-26 18:41:10 +0000 |
commit | d08c682620a16e96301477de78d6189d55ef500d (patch) | |
tree | 7ae94d64c07059b41d3852caef681be2ceb41dac /src/core/SkMatrixUtils.h | |
parent | 2dc84ad3ef88320f612a9459d53f67b63082aebc (diff) |
Fix typeface duplication problem.
This makes the prototype twice as fast. The code was creating a
new SkTypefaceProxy each time any SkFontid was received.
This caused the unique id on the SkTypeface base class to
increment. Therefore every string of characters got a new
descriptor.
BUG=skia:7515
Change-Id: I2d31f79a7ad119fed246fd5b39fd55759d919554
Reviewed-on: https://skia-review.googlesource.com/99980
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkMatrixUtils.h')
0 files changed, 0 insertions, 0 deletions