Index: src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
diff --git a/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp b/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
index 7c3cf6852457e1d078dd5a175aeea35bdc4cf1fd..94bfb1b95391e84241940fcc1d8f7b31877c1a64 100644 |
--- a/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
+++ b/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
@@ -160,7 +160,7 @@ void GrAtlasTextBlob::regenInBatch(GrDrawBatch::Target* target, |
run->fOverrideDescriptor->getDesc() : |
run->fDescriptor.getDesc(); |
if (!*cache || !SkTypeface::Equal(*typeface, run->fTypeface) || |
- !((*desc)->equals(*newDesc))) { |
+ !(**desc == *newDesc)) { |
if (*cache) { |
SkGlyphCache::AttachCache(*cache); |
} |