Index: src/animator/SkAnimator.cpp |
diff --git a/src/animator/SkAnimator.cpp b/src/animator/SkAnimator.cpp |
index 1c53e30a95bffa7a308b45598ce79b41962f8a6d..f2b778054691af5f01b48a4abc0a52200814a9f2 100644 |
--- a/src/animator/SkAnimator.cpp |
+++ b/src/animator/SkAnimator.cpp |
@@ -84,7 +84,7 @@ bool SkAnimator::decodeURI(const char uri[]) { |
// SkDebugf("animator decode %s\n", uri); |
// SkStream* stream = SkStream::GetURIStream(fMaker->fPrefix.c_str(), uri); |
- SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(uri)); |
+ SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(uri)); |
if (stream.get()) { |
this->setURIBase(uri); |
return decodeStream(stream); |