aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/xps
diff options
context:
space:
mode:
Diffstat (limited to 'src/xps')
-rw-r--r--src/xps/SkXPSDevice.cpp6
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);