From 61d56b92a4076f8afd644d015913641d691e39c8 Mon Sep 17 00:00:00 2001 From: Herb Derby Date: Mon, 5 Mar 2018 14:23:47 -0500 Subject: Remove attach and detach glyph cache. BUG=skia:7515 Change-Id: Ib978e3cf4cfffdefe6453feb520e5e73684abf2e Reviewed-on: https://skia-review.googlesource.com/112560 Reviewed-by: Ben Wagner Commit-Queue: Herb Derby --- samplecode/SamplePathText.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samplecode/SamplePathText.cpp') 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 ... -- cgit v1.2.3