Index: src/images/SkDecodingImageGenerator.cpp |
diff --git a/src/images/SkDecodingImageGenerator.cpp b/src/images/SkDecodingImageGenerator.cpp |
index 96c9c3002094f17e79c188fec73408e4056f8807..1e2813660329ad29821704cadf79916df0aab153 100644 |
--- a/src/images/SkDecodingImageGenerator.cpp |
+++ b/src/images/SkDecodingImageGenerator.cpp |
@@ -275,10 +275,6 @@ SkImageGenerator* SkDecodingImageGenerator::Create( |
info.fHeight = bitmap.height(); |
info.fColorType = opts.fRequestedColorType; |
info.fAlphaType = bitmap.alphaType(); |
- |
- // Sanity check. |
- SkDEBUGCODE(SkColorType tmp;) |
- SkASSERT(tmp == opts.fRequestedColorType); |
} |
return SkNEW_ARGS(SkDecodingImageGenerator, |
(data, autoStream.detach(), info, |