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