| Index: src/effects/SkBlurMaskFilter.cpp
|
| diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp
|
| index 1612e3db965098a530df74340c55a824917b3b2b..be818ff1f763ca218518f1ebb41252c6bb1a8edd 100644
|
| --- a/src/effects/SkBlurMaskFilter.cpp
|
| +++ b/src/effects/SkBlurMaskFilter.cpp
|
| @@ -552,7 +552,7 @@ SkBlurMaskFilterImpl::filterRectsToNine(const SkRect rects[], int count,
|
| }
|
|
|
| const SkScalar sigma = this->computeXformedSigma(matrix);
|
| - if (!find_cached_rects(&patch->fMask, sigma, fBlurStyle, this->getQuality(), rects, count)) {
|
| + if (!find_cached_rects(&patch->fMask, sigma, fBlurStyle, this->getQuality(), smallR, count)) {
|
| if (count > 1 || !c_analyticBlurNinepatch) {
|
| if (!draw_rects_into_mask(smallR, count, &srcM)) {
|
| return kFalse_FilterReturn;
|
| @@ -569,7 +569,7 @@ SkBlurMaskFilterImpl::filterRectsToNine(const SkRect rects[], int count,
|
| return kFalse_FilterReturn;
|
| }
|
| }
|
| - add_cached_rects(patch->fMask, sigma, fBlurStyle, this->getQuality(), rects, count);
|
| + add_cached_rects(patch->fMask, sigma, fBlurStyle, this->getQuality(), smallR, count);
|
| }
|
| patch->fMask.fBounds.offsetTo(0, 0);
|
| patch->fOuterRect = dstM.fBounds;
|
|
|