diff options
author | Herb Derby <herb@google.com> | 2018-04-18 11:36:12 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-18 22:07:13 +0000 |
commit | fa996908466f96ab21908258283995ccec40f2a5 (patch) | |
tree | 40bdfee106e42794fd7595207e974a2a6a4816e5 /samplecode | |
parent | 881091f62ea5bbcc8c9f856c12aef3c74f9bf991 (diff) |
Move strike cache Find*() to strike cache
BUG=skia:7515
Change-Id: Ic1580d4752d51a62df5427a28f843bc7b3181797
Reviewed-on: https://skia-review.googlesource.com/122020
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'samplecode')
-rw-r--r-- | samplecode/SamplePathText.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SamplePathText.cpp b/samplecode/SamplePathText.cpp index 0d04b734b4..3dd3287a5f 100644 --- a/samplecode/SamplePathText.cpp +++ b/samplecode/SamplePathText.cpp @@ -24,7 +24,7 @@ public: PathText() { SkPaint defaultPaint; - auto cache = SkGlyphCache::FindOrCreateStrikeExclusive(defaultPaint); + auto cache = SkStrikeCache::FindOrCreateStrikeExclusive(defaultPaint); SkPath glyphPaths[52]; for (int i = 0; i < 52; ++i) { // I and l are rects on OS X ... |