Index: src/gpu/GrAtlasTextContext.cpp |
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp |
index af27c791410bda3002c4273da9e40a54c1630f44..f5867ba9cb11e5d42b7a1e9115ff0eee549a05b9 100644 |
--- a/src/gpu/GrAtlasTextContext.cpp |
+++ b/src/gpu/GrAtlasTextContext.cpp |
@@ -1677,10 +1677,8 @@ |
} |
glyph = blob->fGlyphs[glyphOffset]; |
SkASSERT(glyph); |
- SkASSERT(id == glyph->fPackedID); |
- // We want to be able to assert this but cannot for testing purposes. |
- // once skbug:4143 has landed we can revist this assert |
- //SkASSERT(glyph->fMaskFormat == this->maskFormat()); |
+ SkASSERT(id == glyph->fPackedID && |
+ glyph->fMaskFormat == this->maskFormat()); |
if (!fFontCache->hasGlyph(glyph) && |
!strike->addGlyphToAtlas(batchTarget, glyph, scaler, skGlyph, |