Index: src/gpu/GrLayerCache.cpp |
diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp |
index 0621aace443e954242da3133799db4b912c6d551..f6377bf7e92e5713196296114a545dd4dfb5e177 100644 |
--- a/src/gpu/GrLayerCache.cpp |
+++ b/src/gpu/GrLayerCache.cpp |
@@ -66,7 +66,7 @@ void GrLayerCache::freeAll() { |
fAtlasMgr.free(); |
} |
-GrCachedLayer* GrLayerCache::createLayer(SkPicture* picture, int layerID) { |
+GrCachedLayer* GrLayerCache::createLayer(const SkPicture* picture, int layerID) { |
GrCachedLayer* layer = fLayerPool.alloc(); |
SkASSERT(picture->uniqueID() != SK_InvalidGenID); |
@@ -76,7 +76,7 @@ GrCachedLayer* GrLayerCache::createLayer(SkPicture* picture, int layerID) { |
} |
-GrCachedLayer* GrLayerCache::findLayerOrCreate(SkPicture* picture, int layerID) { |
+GrCachedLayer* GrLayerCache::findLayerOrCreate(const SkPicture* picture, int layerID) { |
SkASSERT(picture->uniqueID() != SK_InvalidGenID); |
GrCachedLayer* layer = fLayerHash.find(PictureLayerKey(picture->uniqueID(), layerID)); |
if (NULL == layer) { |