aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBitmapDevice.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2018-06-25 11:52:55 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-25 16:17:15 +0000
commitbdf985c7614f0d4ec8214fe28fa464b6b202b163 (patch)
treedf13890ed73c4d1a49b5958d6195e30a0fa47dc7 /src/core/SkBitmapDevice.cpp
parented55419d859b6acce893841d71584a612aeb31d3 (diff)
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>
Diffstat (limited to 'src/core/SkBitmapDevice.cpp')
-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)) {