Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 4b34755a85c31b0bd88ffb1657ea5c0f64b06491..eaac30cac3981d7a9eac72bf6c7773463e6ef2a0 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -291,10 +291,6 @@ void SkMagnifierImageFilter::flatten(SkWriteBuffer& buffer) const { |
bool SkMagnifierImageFilter::onFilterImage(Proxy*, const SkBitmap& src, |
const Context&, SkBitmap* dst, |
SkIPoint* offset) const { |
- SkASSERT(src.colorType() == kN32_SkColorType); |
- SkASSERT(fSrcRect.width() < src.width()); |
- SkASSERT(fSrcRect.height() < src.height()); |
- |
if ((src.colorType() != kN32_SkColorType) || |
(fSrcRect.width() >= src.width()) || |
(fSrcRect.height() >= src.height())) { |