Index: src/animator/SkDrawBitmap.cpp |
diff --git a/src/animator/SkDrawBitmap.cpp b/src/animator/SkDrawBitmap.cpp |
index 53497749a42a6ae6f951e01c3da062832d39e812..f41c152a326755e7875098d3cad5778ea9a4f519 100644 |
--- a/src/animator/SkDrawBitmap.cpp |
+++ b/src/animator/SkDrawBitmap.cpp |
@@ -189,7 +189,7 @@ void SkImageBaseBitmap::resolve() { |
fBitmap.reset(); |
//SkStream* stream = SkStream::GetURIStream(fUriBase, src.c_str()); |
- SkAutoTUnref<SkStreamAsset> stream(SkStream::NewFromFile(src.c_str())); |
+ SkAutoTDelete<SkStreamAsset> stream(SkStream::NewFromFile(src.c_str())); |
if (stream.get()) { |
SkImageDecoder::DecodeStream(stream, &fBitmap); |
} |