Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index 78aa3ee52f9bcbd2419cf69db5016b16ae1534c3..7adb0f4b3cf4b91173f36867ca3ad6fd04976a43 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -415,7 +415,7 @@ void SkBaseDevice::drawBitmapAsSprite(const SkDraw& draw, const SkBitmap& bitmap |
const SkIRect clipBounds = draw.fClip->getBounds().makeOffset(-x, -y); |
SkAutoTUnref<SkImageFilter::Cache> cache(this->getImageFilterCache()); |
SkImageFilter::Context ctx(matrix, clipBounds, cache.get()); |
- if (filter->filterImage(&proxy, bitmap, ctx, &dst, &offset)) { |
+ if (filter->filterImageDeprecated(&proxy, bitmap, ctx, &dst, &offset)) { |
SkPaint tmpUnfiltered(paint); |
tmpUnfiltered.setImageFilter(nullptr); |
this->drawSprite(draw, dst, x + offset.x(), y + offset.y(), tmpUnfiltered); |