diff options
Diffstat (limited to 'src/images/SkImageDecoder_libgif.cpp')
-rw-r--r-- | src/images/SkImageDecoder_libgif.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/images/SkImageDecoder_libgif.cpp b/src/images/SkImageDecoder_libgif.cpp index 258a8a017d..d2470ccf1d 100644 --- a/src/images/SkImageDecoder_libgif.cpp +++ b/src/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"); |