Chromium Code Reviews| Index: src/images/SkMovie.cpp |
| diff --git a/src/images/SkMovie.cpp b/src/images/SkMovie.cpp |
| index 2560014965cee524885ebe68d0e8bb5fe382d000..549a479681fee5eb3a783242a2ef65704abb0378 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(SkStreamRewindable::NewFromFile(path)); |
|
bungeman-skia
2013/09/19 16:15:49
Should probably just call this as SkStream::NewFro
scroggo
2013/09/25 20:25:09
D'oh! Overzealous search/replace. Fixed
|
| return stream.get() ? SkMovie::DecodeStream(stream) : NULL; |
| } |