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 /src/xps | |
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 'src/xps')
-rw-r--r-- | src/xps/SkXPSDevice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xps/SkXPSDevice.cpp b/src/xps/SkXPSDevice.cpp index 2cfb545d4c..856cafe158 100644 --- a/src/xps/SkXPSDevice.cpp +++ b/src/xps/SkXPSDevice.cpp @@ -1876,7 +1876,7 @@ HRESULT SkXPSDevice::CreateTypefaceUse(const SkPaint& paint, newTypefaceUse.fontData = fontData; newTypefaceUse.xpsFont = xpsFontResource.release(); auto glyphCache = - SkGlyphCache::FindOrCreateStrikeExclusive( + SkStrikeCache::FindOrCreateStrikeExclusive( paint, &this->surfaceProps(), SkScalerContextFlags::kNone, nullptr); unsigned int glyphCount = glyphCache->getGlyphCount(); @@ -2063,7 +2063,7 @@ void SkXPSDevice::drawText(const void* text, size_t byteLen, HRV(CreateTypefaceUse(paint, &typeface)); auto cache = - SkGlyphCache::FindOrCreateStrikeExclusive( + SkStrikeCache::FindOrCreateStrikeExclusive( paint, &this->surfaceProps(), SkScalerContextFlags::kNone, nullptr); @@ -2121,7 +2121,7 @@ void SkXPSDevice::drawPosText(const void* text, size_t byteLen, HRV(CreateTypefaceUse(paint, &typeface)); auto cache = - SkGlyphCache::FindOrCreateStrikeExclusive( + SkStrikeCache::FindOrCreateStrikeExclusive( paint, &this->surfaceProps(), SkScalerContextFlags::kNone, nullptr); |