aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
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 /samplecode
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 'samplecode')
-rw-r--r--samplecode/SamplePathText.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SamplePathText.cpp b/samplecode/SamplePathText.cpp
index b6a730f6d7..c6c07ee14c 100644
--- a/samplecode/SamplePathText.cpp
+++ b/samplecode/SamplePathText.cpp
@@ -25,7 +25,7 @@ public:
PathText() {
SkPaint defaultPaint;
SkAutoGlyphCache agc(defaultPaint, nullptr, &SkMatrix::I());
- SkGlyphCache* cache = agc.getCache();
+ SkGlyphCache* cache = agc.get();
SkPath glyphPaths[52];
for (int i = 0; i < 52; ++i) {
// I and l are rects on OS X ...