Index: src/core/SkGlyphCache.cpp |
diff --git a/src/core/SkGlyphCache.cpp b/src/core/SkGlyphCache.cpp |
index 224a70a37f3f971c514775d18369a4e571dea8bd..ec342275cc6f3c6354eb60d0c16eeebcb8d0767b 100755 |
--- a/src/core/SkGlyphCache.cpp |
+++ b/src/core/SkGlyphCache.cpp |
@@ -662,15 +662,11 @@ void SkGlyphCache::validate() const { |
#ifdef SK_DEBUG_GLYPH_CACHE |
int count = fGlyphArray.count(); |
for (int i = 0; i < count; i++) { |
- const SkGlyph* glyph = fGlyphArray[i]; |
+ const SkGlyph* glyph = &fGlyphArray[i]; |
mtklein
2015/03/06 22:25:28
Might want to const SkGlyph& glyph and use '.' bel
|
SkASSERT(glyph); |
- SkASSERT(fGlyphAlloc.contains(glyph)); |
if (glyph->fImage) { |
SkASSERT(fGlyphAlloc.contains(glyph->fImage)); |
} |
- if (glyph->fDistanceField) { |
- SkASSERT(fGlyphAlloc.contains(glyph->fDistanceField)); |
- } |
} |
#endif |
} |