Index: src/core/SkGlyphCache.cpp |
diff --git a/src/core/SkGlyphCache.cpp b/src/core/SkGlyphCache.cpp |
index 7256de6cdc396ef6f35eb79a08b7a612358986c5..9725c0179a73941b1ab5d2757670363e7d2bf577 100644 |
--- a/src/core/SkGlyphCache.cpp |
+++ b/src/core/SkGlyphCache.cpp |
@@ -529,7 +529,7 @@ SkGlyphCache* SkGlyphCache::VisitCache(SkTypeface* typeface, |
globals.validate(); |
for (cache = globals.internalGetHead(); cache != nullptr; cache = cache->fNext) { |
- if (cache->fDesc->equals(*desc)) { |
+ if (*cache->fDesc == *desc) { |
globals.internalDetachCache(cache); |
if (!proc(cache, context)) { |
globals.internalAttachCacheToHead(cache); |