Index: src/effects/SkMatrixConvolutionImageFilter.cpp |
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp |
index 1df1ff9de0016ca3fe6b3a559c88d8ea4ee376fc..7b9812ddbc30bea4aee2cd976bb0b1eb24b234cd 100644 |
--- a/src/effects/SkMatrixConvolutionImageFilter.cpp |
+++ b/src/effects/SkMatrixConvolutionImageFilter.cpp |
@@ -265,9 +265,7 @@ bool SkMatrixConvolutionImageFilter::onFilterImage(Proxy* proxy, |
} |
SkIRect bounds; |
- src.getBounds(&bounds); |
- bounds.offset(srcOffset); |
- if (!this->applyCropRect(&bounds, ctx.ctm())) { |
+ if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &bounds, &src)) { |
return false; |
} |