Index: src/animator/SkAnimateMaker.cpp |
diff --git a/src/animator/SkAnimateMaker.cpp b/src/animator/SkAnimateMaker.cpp |
index a3ebb642fe7cfd2f4cb04beec69da2380c952bf5..256576259e4f7e1329e8c6a2489e2abd3630e2f5 100644 |
--- a/src/animator/SkAnimateMaker.cpp |
+++ b/src/animator/SkAnimateMaker.cpp |
@@ -99,7 +99,7 @@ bool SkAnimateMaker::decodeURI(const char uri[]) { |
// SkDebugf("animator decode %s\n", uri); |
// SkStream* stream = SkStream::GetURIStream(fPrefix.c_str(), uri); |
- SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(uri)); |
+ SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(uri)); |
if (stream.get()) { |
bool success = decodeStream(stream); |
if (hasError() && fError.hasNoun() == false) |