From bdf985c7614f0d4ec8214fe28fa464b6b202b163 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Mon, 25 Jun 2018 11:52:55 -0400 Subject: [PATCH] remove bad assert Bug: 855854 Change-Id: Ifad8fd1f89000b206de39ef261a99292ee63b7a1 Reviewed-on: https://skia-review.googlesource.com/137383 Reviewed-by: Mike Reed Commit-Queue: Mike Reed --- src/core/SkBitmapDevice.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp index cbd9a7cc40..81ff5bae2a 100644 --- a/src/core/SkBitmapDevice.cpp +++ b/src/core/SkBitmapDevice.cpp @@ -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)) {