aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkBitmapDevice.cpp3
1 files changed, 0 insertions, 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)) {