Index: src/effects/SkBlurImageFilter.cpp |
diff --git a/src/effects/SkBlurImageFilter.cpp b/src/effects/SkBlurImageFilter.cpp |
index 4885070264ea50cd59e32f6e98a83b538db50975..7b68ea0214fafa8967cfa3e3f9cf7da16593b89f 100644 |
--- a/src/effects/SkBlurImageFilter.cpp |
+++ b/src/effects/SkBlurImageFilter.cpp |
@@ -137,7 +137,11 @@ static void getBox3Params(SkScalar s, int *kernelSize, int* kernelSize3, int *lo |
bool SkBlurImageFilter::onFilterImage(Proxy* proxy, |
const SkBitmap& source, const SkMatrix& ctm, |
SkBitmap* dst, SkIPoint* offset) { |
- SkBitmap src = this->getInputResult(0, proxy, source, ctm, offset); |
+ SkBitmap src = source; |
+ if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctm, &src, offset)) { |
+ return false; |
+ } |
+ |
if (src.config() != SkBitmap::kARGB_8888_Config) { |
return false; |
} |