remove bad assert

Bug: 855854
Change-Id: Ifad8fd1f89000b206de39ef261a99292ee63b7a1
Reviewed-on: https://skia-review.googlesource.com/137383
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2018-06-25 11:52:55 -04:00 committed by Skia Commit-Bot
parent ed55419d85
commit bdf985c761

View File

@ -419,9 +419,6 @@ void SkBitmapDevice::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y,
void SkBitmapDevice::drawBitmap(const SkBitmap& bitmap, const SkMatrix& matrix, void SkBitmapDevice::drawBitmap(const SkBitmap& bitmap, const SkMatrix& matrix,
const SkRect* dstOrNull, const SkPaint& paint) { const SkRect* dstOrNull, const SkPaint& paint) {
// are we ever given a dst-rect AND have a maskfilter (which might change the bounds)?
SkASSERT(!dstOrNull || !paint.getMaskFilter());
const SkRect* bounds = dstOrNull; const SkRect* bounds = dstOrNull;
SkRect storage; SkRect storage;
if (!bounds && SkDrawTiler::NeedsTiling(this)) { if (!bounds && SkDrawTiler::NeedsTiling(this)) {