Index: src/animator/SkDrawBitmap.cpp |
diff --git a/src/animator/SkDrawBitmap.cpp b/src/animator/SkDrawBitmap.cpp |
index 9f657ab2aed5b8526c1b0e9034b52bfd89a11c61..568401d0e667cfe3ed63f4269a8361e24d99f848 100644 |
--- a/src/animator/SkDrawBitmap.cpp |
+++ b/src/animator/SkDrawBitmap.cpp |
@@ -189,7 +189,7 @@ void SkImageBaseBitmap::resolve() { |
fBitmap.reset(); |
//SkStream* stream = SkStream::GetURIStream(fUriBase, src.c_str()); |
- SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(src.c_str())); |
+ SkAutoTUnref<SkStreamAsset> stream(SkStream::NewFromFile(src.c_str())); |
if (stream.get()) { |
SkImageDecoder::DecodeStream(stream, &fBitmap); |
} |