diff options
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-03-03 21:04:12 +0000 |
---|---|---|
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-03-03 21:04:12 +0000 |
commit | dcfc89cccfe82f8099ef32170d352edba9778b0f (patch) | |
tree | e904ae36205d3e770ad99427148a2134d27af357 /images/SkImageDecoder_libico.cpp | |
parent | 622c16c0e109a268401313c664408ba596d1df66 (diff) | |
download | src-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_libico.cpp')
-rw-r--r-- | images/SkImageDecoder_libico.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/images/SkImageDecoder_libico.cpp b/images/SkImageDecoder_libico.cpp index 9f21e132..ef5b7ac9 100644 --- a/images/SkImageDecoder_libico.cpp +++ b/images/SkImageDecoder_libico.cpp @@ -29,8 +29,7 @@ public: } protected: - virtual bool onDecode(SkStream* stream, SkBitmap* bm, - SkBitmap::Config pref, Mode); + virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode); }; ///////////////////////////////////////////////////////////////////////////////////////// @@ -79,8 +78,7 @@ static int calculateRowBytesFor8888(int w, int bitCount) return 0; } -bool SkICOImageDecoder::onDecode(SkStream* stream, SkBitmap* bm, - SkBitmap::Config pref, Mode mode) +bool SkICOImageDecoder::onDecode(SkStream* stream, SkBitmap* bm, Mode mode) { size_t length = stream->read(NULL, 0); SkAutoMalloc autoMal(length); |