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:
parent
ed55419d85
commit
bdf985c761
@ -419,9 +419,6 @@ void SkBitmapDevice::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y,
|
||||
|
||||
void SkBitmapDevice::drawBitmap(const SkBitmap& bitmap, const SkMatrix& matrix,
|
||||
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;
|
||||
SkRect storage;
|
||||
if (!bounds && SkDrawTiler::NeedsTiling(this)) {
|
||||
|
Loading…
Reference in New Issue
Block a user