Index: src/core/SkOrderedReadBuffer.cpp |
diff --git a/src/core/SkOrderedReadBuffer.cpp b/src/core/SkOrderedReadBuffer.cpp |
index 31841182b9c47edbce0e0f85b1b9bef466620fe8..69c60cbe097ed1040c41dd7fa97a6f8ed11afa34 100644 |
--- a/src/core/SkOrderedReadBuffer.cpp |
+++ b/src/core/SkOrderedReadBuffer.cpp |
@@ -226,9 +226,13 @@ void SkOrderedReadBuffer::readBitmap(SkBitmap* bitmap) { |
} |
// This case can only be reached if extractSubset was called, so |
- // the recorded width and height must be smaller than (or equal to |
+ // the recorded width and height must be smaller than or equal to |
// the encoded width and height. |
- SkASSERT(width <= bitmap->width() && height <= bitmap->height()); |
+ // FIXME (scroggo): This assert assumes that our decoder and the |
+ // sources encoder agree on the width and height which may not |
+ // always be the case. Removing until it can be investigated |
+ // further. |
+ //SkASSERT(width <= bitmap->width() && height <= bitmap->height()); |
SkBitmap subsetBm; |
SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height); |