Chromium Code Reviews| Index: src/gpu/GrTextStrike.h |
| diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h |
| index 422ae0c379a936f7930e0d35d1638df05c18954a..70ceb93be93bac5e0beef9fdc6a3482c2d9bc370 100644 |
| --- a/src/gpu/GrTextStrike.h |
| +++ b/src/gpu/GrTextStrike.h |
| @@ -110,6 +110,7 @@ public: |
| private: |
| friend class GrFontPurgeListener; |
|
robertphillips
2013/12/02 21:05:40
// The current set of atlases are: ...?
|
| + static const int kAtlasCount = 3; |
| class Key; |
| GrTHashTable<GrTextStrike, Key, 8> fCache; |
| @@ -118,7 +119,7 @@ private: |
| GrTextStrike* fTail; |
| GrGpu* fGpu; |
| - GrAtlasMgr* fAtlasMgr[kMaskFormatCount]; |
| + GrAtlasMgr* fAtlasMgr[kAtlasCount]; |
| GrTextStrike* generateStrike(GrFontScaler*, const Key&); |
| inline void detachStrikeFromList(GrTextStrike*); |