Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index 24118f4662a7ef2a0ae061147cd6bff31416849a..70f4e074317743e9e04956fd922c9fd948980277 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -412,7 +412,7 @@ void SkBaseDevice::drawSpriteWithFilter(const SkDraw& draw, const SkBitmap& bitm |
SkIPoint offset = SkIPoint::Make(0, 0); |
SkMatrix matrix = *draw.fMatrix; |
matrix.postTranslate(SkIntToScalar(-x), SkIntToScalar(-y)); |
- const SkIRect clipBounds = draw.fClip->getBounds().makeOffset(-x, -y); |
+ const SkIRect clipBounds = draw.fRC->getBounds().makeOffset(-x, -y); |
SkAutoTUnref<SkImageFilter::Cache> cache(this->getImageFilterCache()); |
SkImageFilter::Context ctx(matrix, clipBounds, cache.get()); |