Index: src/core/SkImageCacherator.cpp |
diff --git a/src/core/SkImageCacherator.cpp b/src/core/SkImageCacherator.cpp |
index e9b7f6a82a60c378bcbc2ccbc124826a055333d7..12c09cbe0ae7107658350379635c5881eea9a010 100644 |
--- a/src/core/SkImageCacherator.cpp |
+++ b/src/core/SkImageCacherator.cpp |
@@ -55,7 +55,7 @@ SkImageCacherator* SkImageCacherator::NewFromGenerator(SkImageGenerator* gen, |
// Now that we know we can hand-off the generator (to be owned by the cacherator) we can |
// release our holder. (we DONT want to delete it here anymore) |
- genHolder.detach(); |
+ genHolder.release(); |
return new SkImageCacherator(gen, gen->getInfo().makeWH(subset->width(), subset->height()), |
SkIPoint::Make(subset->x(), subset->y()), uniqueID); |