Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: include/images/SkMovie.h

Issue 23477009: Change SkImageDecoders to take an SkStreamRewindable. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Only switch to SkStreamRewindable when necessary. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/images/SkImageRef_GlobalPool.h ('k') | samplecode/SamplePicture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/images/SkMovie.h
diff --git a/include/images/SkMovie.h b/include/images/SkMovie.h
index f32d6094b27358fe5d23cdf2325cfc9c06855c29..e52a3a8f40403b85c01a5f850a97a9f9403e08df 100644
--- a/include/images/SkMovie.h
+++ b/include/images/SkMovie.h
@@ -13,7 +13,7 @@
#include "SkRefCnt.h"
#include "SkCanvas.h"
-class SkStream;
+class SkStreamRewindable;
class SkMovie : public SkRefCnt {
public:
@@ -22,7 +22,7 @@ public:
/** Try to create a movie from the stream. If the stream format is not
supported, return NULL.
*/
- static SkMovie* DecodeStream(SkStream*);
+ static SkMovie* DecodeStream(SkStreamRewindable*);
/** Try to create a movie from the specified file path. If the file is not
found, or the format is not supported, return NULL. If a movie is
returned, the stream may be retained by the movie (via ref()) until
« no previous file with comments | « include/images/SkImageRef_GlobalPool.h ('k') | samplecode/SamplePicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698