aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkBicubicImageFilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/SkBicubicImageFilter.cpp')
-rw-r--r--src/effects/SkBicubicImageFilter.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/effects/SkBicubicImageFilter.cpp b/src/effects/SkBicubicImageFilter.cpp
index daa59484fa..c10937eaea 100644
--- a/src/effects/SkBicubicImageFilter.cpp
+++ b/src/effects/SkBicubicImageFilter.cpp
@@ -81,11 +81,7 @@ bool SkBicubicImageFilter::onFilterImage(Proxy* proxy,
const SkMatrix& matrix,
SkBitmap* result,
SkIPoint* loc) {
- SkBitmap src = source;
- if (getInput(0) && !getInput(0)->filterImage(proxy, source, matrix, &src, loc)) {
- return false;
- }
-
+ SkBitmap src = this->getInputResult(0, proxy, source, matrix, loc);
if (src.config() != SkBitmap::kARGB_8888_Config) {
return false;
}