From dcfc89cccfe82f8099ef32170d352edba9778b0f Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Wed, 3 Mar 2010 21:04:12 +0000 Subject: add optional pref-config table to codecs git-svn-id: http://skia.googlecode.com/svn/trunk/src@519 2bbb7eff-a529-9590-31e7-b0007b416f81 --- images/SkImageDecoder_libgif.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'images/SkImageDecoder_libgif.cpp') 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"); -- cgit v1.2.3