Index: src/images/SkMovie.cpp |
diff --git a/src/images/SkMovie.cpp b/src/images/SkMovie.cpp |
index 9a2a71cd57c599cf156482c69a372cac6cd20bef..2a1339f36e558798e46e907bc2d8c2f4e24709fd 100644 |
--- a/src/images/SkMovie.cpp |
+++ b/src/images/SkMovie.cpp |
@@ -90,6 +90,6 @@ SkMovie* SkMovie::DecodeMemory(const void* data, size_t length) { |
} |
SkMovie* SkMovie::DecodeFile(const char path[]) { |
- SkAutoTUnref<SkStreamRewindable> stream(SkStream::NewFromFile(path)); |
+ SkAutoTDelete<SkStreamRewindable> stream(SkStream::NewFromFile(path)); |
return stream.get() ? SkMovie::DecodeStream(stream) : NULL; |
} |