| Index: src/gpu/GrLayerCache.cpp
|
| diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp
|
| index 86258abf42cb213555d19fa39ea5ae78957c965e..c20d8090621cfc3509a4dbd817a5279930a2416e 100644
|
| --- a/src/gpu/GrLayerCache.cpp
|
| +++ b/src/gpu/GrLayerCache.cpp
|
| @@ -53,17 +53,17 @@ void GrLayerCache::init() {
|
| static const int kAtlasTextureWidth = 1024;
|
| static const int kAtlasTextureHeight = 1024;
|
|
|
| - SkASSERT(NULL == fAtlasMgr.get());
|
| + SkASSERT(NULL == fAtlas.get());
|
|
|
| // The layer cache only gets 1 plot
|
| SkISize textureSize = SkISize::Make(kAtlasTextureWidth, kAtlasTextureHeight);
|
| - fAtlasMgr.reset(SkNEW_ARGS(GrAtlasMgr, (fContext->getGpu(), kSkia8888_GrPixelConfig,
|
| - textureSize, 1, 1, false)));
|
| + fAtlas.reset(SkNEW_ARGS(GrAtlas, (fContext->getGpu(), kSkia8888_GrPixelConfig,
|
| + textureSize, 1, 1, false)));
|
| }
|
|
|
| void GrLayerCache::freeAll() {
|
| fLayerHash.deleteAll();
|
| - fAtlasMgr.free();
|
| + fAtlas.free();
|
| }
|
|
|
| GrCachedLayer* GrLayerCache::createLayer(const SkPicture* picture, int layerID) {
|
|
|