Index: src/effects/SkMatrixConvolutionImageFilter.cpp |
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp |
index 6368096fbcc06a638dfaa4586506bff7222391d5..99e8368e7dac2b77d946701e74d0d10f87057b43 100644 |
--- a/src/effects/SkMatrixConvolutionImageFilter.cpp |
+++ b/src/effects/SkMatrixConvolutionImageFilter.cpp |
@@ -203,7 +203,11 @@ bool SkMatrixConvolutionImageFilter::onFilterImage(Proxy* proxy, |
const SkMatrix& matrix, |
SkBitmap* result, |
SkIPoint* loc) { |
- SkBitmap src = this->getInputResult(0, proxy, source, matrix, loc); |
+ SkBitmap src = source; |
+ if (getInput(0) && !getInput(0)->filterImage(proxy, source, matrix, &src, loc)) { |
+ return false; |
+ } |
+ |
if (src.config() != SkBitmap::kARGB_8888_Config) { |
return false; |
} |