Index: src/gpu/GrLayerCache.cpp |
diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp |
index c2facbb12d7a2a393bb1d682bc8761cb468f77f7..3c7ab88735d218ffd41237ab172a7f0caf318ba9 100644 |
--- a/src/gpu/GrLayerCache.cpp |
+++ b/src/gpu/GrLayerCache.cpp |
@@ -98,7 +98,7 @@ GrLayerCache::~GrLayerCache() { |
SkASSERT(0 == fPictureHash.count()); |
// The atlas only lets go of its texture when the atlas is deleted. |
- fAtlas.free(); |
+ fAtlas.reset(); |
} |
void GrLayerCache::initAtlas() { |