diff options
author | Herb Derby <herb@google.com> | 2018-03-09 10:15:52 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-09 16:19:40 +0000 |
commit | c2ef4ab423b0cc456425de1f0161e24980652db6 (patch) | |
tree | 2e1f6d71c9bbe560120374f38a73014260b5ccf0 /src/xps | |
parent | 03cd6e6dec894b3447527f84e7591d62981df433 (diff) |
Remove all uses of getCache with get.
Holding off on removing definition until android cleans
up its code.
Change-Id: I19cce13d6d1f10f172770a926966761686bc7d6a
Reviewed-on: https://skia-review.googlesource.com/113168
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
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 9f1a9609c1..b8387b9206 100644 --- a/src/xps/SkXPSDevice.cpp +++ b/src/xps/SkXPSDevice.cpp @@ -1877,7 +1877,7 @@ HRESULT SkXPSDevice::CreateTypefaceUse(const SkPaint& paint, newTypefaceUse.xpsFont = xpsFontResource.release(); SkAutoGlyphCache agc(paint, &this->surfaceProps(), &SkMatrix::I()); - SkGlyphCache* glyphCache = agc.getCache(); + SkGlyphCache* glyphCache = agc.get(); unsigned int glyphCount = glyphCache->getGlyphCount(); newTypefaceUse.glyphsUsed = new SkBitSet(glyphCount); @@ -2064,7 +2064,7 @@ void SkXPSDevice::drawText(const void* text, size_t byteLen, const SkMatrix& matrix = SkMatrix::I(); SkAutoGlyphCache autoCache(paint, &this->surfaceProps(), &matrix); - SkGlyphCache* cache = autoCache.getCache(); + SkGlyphCache* cache = autoCache.get(); // Advance width and offsets for glyphs measured in hundredths of the font em size // (XPS Spec 5.1.3). @@ -2122,7 +2122,7 @@ void SkXPSDevice::drawPosText(const void* text, size_t byteLen, const SkMatrix& matrix = SkMatrix::I(); SkAutoGlyphCache autoCache(paint, &this->surfaceProps(), &matrix); - SkGlyphCache* cache = autoCache.getCache(); + SkGlyphCache* cache = autoCache.get(); // Advance width and offsets for glyphs measured in hundredths of the font em size // (XPS Spec 5.1.3). |