| Index: src/utils/SkPaintFilterCanvas.cpp
|
| diff --git a/src/utils/SkPaintFilterCanvas.cpp b/src/utils/SkPaintFilterCanvas.cpp
|
| index 1abebef8cad5e517da186c9dc945d7ed22a15a3f..50d12365e087279b73e97997d6a68e88cdc3e1ba 100644
|
| --- a/src/utils/SkPaintFilterCanvas.cpp
|
| +++ b/src/utils/SkPaintFilterCanvas.cpp
|
| @@ -86,9 +86,11 @@ void SkPaintFilterCanvas::onDrawImage(const SkImage* image, SkScalar left, SkSca
|
| }
|
|
|
| void SkPaintFilterCanvas::onDrawImageRect(const SkImage* image, const SkRect* src,
|
| - const SkRect& dst, const SkPaint* paint) {
|
| + const SkRect& dst, const SkPaint* paint
|
| + SRC_RECT_CONSTRAINT_PARAM(constraint)) {
|
| AutoPaintFilter apf(this, kBitmap_Type, paint);
|
| - this->INHERITED::onDrawImageRect(image, src, dst, apf.paint());
|
| + this->INHERITED::onDrawImageRect(image, src, dst, apf.paint()
|
| + SRC_RECT_CONSTRAINT_ARG(constraint));
|
| }
|
|
|
| void SkPaintFilterCanvas::onDrawBitmapNine(const SkBitmap& bm, const SkIRect& center,
|
|
|