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 /bench/SkGlyphCacheBench.cpp | |
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 'bench/SkGlyphCacheBench.cpp')
-rw-r--r-- | bench/SkGlyphCacheBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/SkGlyphCacheBench.cpp b/bench/SkGlyphCacheBench.cpp index 1cc257fd3f..c760eb5583 100644 --- a/bench/SkGlyphCacheBench.cpp +++ b/bench/SkGlyphCacheBench.cpp @@ -21,7 +21,7 @@ static void do_font_stuff(SkPaint* paint) { for (SkScalar i = 8; i < 64; i++) { paint->setTextSize(i); SkAutoGlyphCacheNoGamma autoCache(*paint, nullptr, nullptr); - SkGlyphCache* cache = autoCache.getCache(); + SkGlyphCache* cache = autoCache.get(); uint16_t glyphs['z']; for (int c = ' '; c < 'z'; c++) { glyphs[c] = cache->unicharToGlyph(c); |