aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/atlastext
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-03-22 16:10:30 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-22 23:47:19 +0000
commit7956b59ba50bbeeaa5bfece6dd9894175168366d (patch)
tree959f2254ee342c6c36b8eb448a3720c9dec1e51e /src/atlastext
parentc912d6133c66df7cde3d64adc76941856a12da64 (diff)
Remove SkAutoGlyphCache decls that happen to work
...and fix sample code. Change-Id: I673770125064f8451e3d88ec4929a68409935ad1 Reviewed-on: https://skia-review.googlesource.com/115995 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/atlastext')
-rw-r--r--src/atlastext/SkAtlasTextTarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atlastext/SkAtlasTextTarget.cpp b/src/atlastext/SkAtlasTextTarget.cpp
index 937498b826..c1a21b04a2 100644
--- a/src/atlastext/SkAtlasTextTarget.cpp
+++ b/src/atlastext/SkAtlasTextTarget.cpp
@@ -181,7 +181,7 @@ void GrAtlasTextOp::finalizeForTextTarget(uint32_t color, const GrCaps& caps) {
void GrAtlasTextOp::executeForTextTarget(SkAtlasTextTarget* target) {
FlushInfo flushInfo;
- SkAutoGlyphCache autoGlyphCache;
+ SkExclusiveStrikePtr autoGlyphCache;
auto& context = target->context()->internal();
auto glyphCache = context.grContext()->contextPriv().getGlyphCache();
auto atlasManager = context.grContext()->contextPriv().getAtlasManager();