BUG=skia:
Change-Id: I475b7b43e17f17f8f2a50e93ae0ce8a5b918b041
NOTRY=True
Reviewed-on: https://skia-review.googlesource.com/9547
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
SkNoPixelsDevice(const SkIRect& bounds, const SkSurfaceProps& props)
: SkBaseDevice(SkImageInfo::MakeUnknown(bounds.width(), bounds.height()), props)
{
- SkASSERT(bounds.width() >= 0 && bounds.height() >= 0);
+ // this fails if we enable this assert: DiscardableImageMapTest.GetDiscardableImagesInRectMaxImage
+ //SkASSERT(bounds.width() >= 0 && bounds.height() >= 0);
}
void resetForNextPicture(const SkIRect& bounds) {
- SkASSERT(bounds.width() >= 0 && bounds.height() >= 0);
+ //SkASSERT(bounds.width() >= 0 && bounds.height() >= 0);
this->privateResize(bounds.width(), bounds.height());
}