Index: src/core/SkGlyphCache.h |
diff --git a/src/core/SkGlyphCache.h b/src/core/SkGlyphCache.h |
index a0d4afbc464327eb3b2655f09dde6748228a31c6..bb34a7d977411784971c9658793ad787e7197237 100644 |
--- a/src/core/SkGlyphCache.h |
+++ b/src/core/SkGlyphCache.h |
@@ -202,10 +202,7 @@ |
SkGlyph* fGlyph; |
}; |
// no reason to use the same kHashCount as fGlyphHash, but we do for now |
- // Dynamically allocated when chars are encountered. |
- SkAutoTDelete<CharGlyphRec> fCharToGlyphHash; |
- |
- CharGlyphRec* getCharGlyphRec(uint32_t id); |
+ CharGlyphRec fCharToGlyphHash[kHashCount]; |
static inline unsigned ID2HashIndex(uint32_t id) { |
id ^= id >> 16; |