| Index: src/effects/SkBicubicImageFilter.cpp
|
| diff --git a/src/effects/SkBicubicImageFilter.cpp b/src/effects/SkBicubicImageFilter.cpp
|
| index c10937eaea8fed26fdb96e92a3871d81efa49f88..daa59484fab135982a94ec87267378ed5534367a 100644
|
| --- a/src/effects/SkBicubicImageFilter.cpp
|
| +++ b/src/effects/SkBicubicImageFilter.cpp
|
| @@ -81,7 +81,11 @@ bool SkBicubicImageFilter::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;
|
| }
|
|
|