aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/PathTextBench.cpp
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-03-09 10:15:52 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-09 16:19:40 +0000
commitc2ef4ab423b0cc456425de1f0161e24980652db6 (patch)
tree2e1f6d71c9bbe560120374f38a73014260b5ccf0 /bench/PathTextBench.cpp
parent03cd6e6dec894b3447527f84e7591d62981df433 (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 'bench/PathTextBench.cpp')
-rw-r--r--bench/PathTextBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/PathTextBench.cpp b/bench/PathTextBench.cpp
index 8920223c35..4e83d33119 100644
--- a/bench/PathTextBench.cpp
+++ b/bench/PathTextBench.cpp
@@ -47,7 +47,7 @@ private:
void onDelayedSetup() override {
SkPaint defaultPaint;
SkAutoGlyphCache agc(defaultPaint, nullptr, &SkMatrix::I());
- SkGlyphCache* cache = agc.getCache();
+ SkGlyphCache* cache = agc.get();
for (int i = 0; i < kNumGlyphs; ++i) {
SkGlyphID id = cache->unicharToGlyph(kGlyphs[i]);
cache->getScalerContext()->getPath(SkPackedGlyphID(id), &fGlyphs[i]);