summaryrefslogtreecommitdiff
path: root/images/SkImageDecoder_libgif.cpp
diff options
context:
space:
mode:
authorreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-03-03 21:04:12 +0000
committerreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-03-03 21:04:12 +0000
commitdcfc89cccfe82f8099ef32170d352edba9778b0f (patch)
treee904ae36205d3e770ad99427148a2134d27af357 /images/SkImageDecoder_libgif.cpp
parent622c16c0e109a268401313c664408ba596d1df66 (diff)
downloadsrc-dcfc89cccfe82f8099ef32170d352edba9778b0f.tar.gz
add optional pref-config table to codecs
git-svn-id: http://skia.googlecode.com/svn/trunk/src@519 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'images/SkImageDecoder_libgif.cpp')
-rw-r--r--images/SkImageDecoder_libgif.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/images/SkImageDecoder_libgif.cpp b/images/SkImageDecoder_libgif.cpp
index 258a8a01..d2470ccf 100644
--- a/images/SkImageDecoder_libgif.cpp
+++ b/images/SkImageDecoder_libgif.cpp
@@ -31,8 +31,7 @@ public:
}
protected:
- virtual bool onDecode(SkStream* stream, SkBitmap* bm,
- SkBitmap::Config pref, Mode mode);
+ virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode mode);
};
static const uint8_t gStartingIterlaceYValue[] = {
@@ -154,8 +153,7 @@ static bool error_return(GifFileType* gif, const SkBitmap& bm,
return false;
}
-bool SkGIFImageDecoder::onDecode(SkStream* sk_stream, SkBitmap* bm,
- SkBitmap::Config prefConfig, Mode mode) {
+bool SkGIFImageDecoder::onDecode(SkStream* sk_stream, SkBitmap* bm, Mode mode) {
GifFileType* gif = DGifOpen(sk_stream, DecodeCallBackProc);
if (NULL == gif) {
return error_return(gif, *bm, "DGifOpen");