Index: src/gpu/GrLayerCache.h |
diff --git a/src/gpu/GrLayerCache.h b/src/gpu/GrLayerCache.h |
index d06b748ae8fdb4d91cb41331141a8442e245f787..a7ba2afb30f2a63969b5234d17b881a65b115189 100644 |
--- a/src/gpu/GrLayerCache.h |
+++ b/src/gpu/GrLayerCache.h |
@@ -90,7 +90,7 @@ private: |
// The GrLayerCache caches pre-computed saveLayers for later rendering. |
// Non-atlased layers are stored in their own GrTexture while the atlased |
// layers share a single GrTexture. |
-// Unlike the GrFontCache, the GrTexture atlas only has one GrAtlasMgr (for 8888) |
+// Unlike the GrFontCache, the GrTexture atlas only has one GrAtlas (for 8888) |
// and one GrPlot (for the entire atlas). As such, the GrLayerCache |
// roughly combines the functionality of the GrFontCache and GrTextStrike |
// classes. |
@@ -117,8 +117,8 @@ public: |
private: |
GrContext* fContext; // pointer back to owning context |
- SkAutoTDelete<GrAtlasMgr> fAtlasMgr; // TODO: could lazily allocate |
- GrAtlas fPlotUsage; |
+ SkAutoTDelete<GrAtlas> fAtlas; // TODO: could lazily allocate |
+ GrAtlas::ClientPlotUsage fPlotUsage; |
class PictureLayerKey; |
GrTHashTable<GrCachedLayer, PictureLayerKey, 7> fLayerHash; |