diff options
author | 2014-02-11 18:21:45 +0000 | |
---|---|---|
committer | 2014-02-11 18:21:45 +0000 | |
commit | 61e96cd44624c9faceb625519c1b29775b161f45 (patch) | |
tree | 8df9411f754568cfa13f4b9b63fcb626da13f2fc /src/images/SkDecodingImageGenerator.cpp | |
parent | 44546f85d9170d9dbbb0423813c339c1def30074 (diff) |
SkBitmap now really stores SkImageInfo -- config is just a ruse
BUG=skia:
R=scroggo@google.com
Author: reed@google.com
Review URL: https://codereview.chromium.org/159653004
git-svn-id: http://skia.googlecode.com/svn/trunk@13411 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/images/SkDecodingImageGenerator.cpp')
-rw-r--r-- | src/images/SkDecodingImageGenerator.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/images/SkDecodingImageGenerator.cpp b/src/images/SkDecodingImageGenerator.cpp index 153d1e220b..1e28136603 100644 --- a/src/images/SkDecodingImageGenerator.cpp +++ b/src/images/SkDecodingImageGenerator.cpp @@ -275,11 +275,6 @@ SkImageGenerator* SkDecodingImageGenerator::Create( info.fHeight = bitmap.height(); info.fColorType = opts.fRequestedColorType; info.fAlphaType = bitmap.alphaType(); - - // Sanity check. - SkDEBUGCODE(SkColorType tmp;) - SkASSERT(SkBitmapConfigToColorType(config, &tmp)); - SkASSERT(tmp == opts.fRequestedColorType); } return SkNEW_ARGS(SkDecodingImageGenerator, (data, autoStream.detach(), info, |