| Index: src/core/SkDevice.cpp
|
| diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp
|
| index 3a4090e2d37116cf20e2804aa3d88ccbdffe1f94..1b228565283cc1cc8cf36ed4a79d4b361591ee9f 100644
|
| --- a/src/core/SkDevice.cpp
|
| +++ b/src/core/SkDevice.cpp
|
| @@ -418,7 +418,8 @@ void SkBaseDevice::drawSpriteWithFilter(const SkDraw& draw, const SkBitmap& bitm
|
| SkAutoTUnref<SkImageFilter::Cache> cache(this->getImageFilterCache());
|
| SkImageFilter::Context ctx(matrix, clipBounds, cache.get());
|
|
|
| - sk_sp<SkSpecialImage> srcImg(SkSpecialImage::internal_fromBM(&proxy, bitmap));
|
| + sk_sp<SkSpecialImage> srcImg(SkSpecialImage::internal_fromBM(&proxy, bitmap,
|
| + &this->surfaceProps()));
|
| if (!srcImg) {
|
| return; // something disastrous happened
|
| }
|
|
|