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