aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkTileImageFilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/SkTileImageFilter.cpp')
-rw-r--r--src/effects/SkTileImageFilter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/effects/SkTileImageFilter.cpp b/src/effects/SkTileImageFilter.cpp
index c3eb2f301a..52ea6a756f 100644
--- a/src/effects/SkTileImageFilter.cpp
+++ b/src/effects/SkTileImageFilter.cpp
@@ -28,9 +28,8 @@ bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src,
const Context& ctx,
SkBitmap* dst, SkIPoint* offset) const {
SkBitmap source = src;
- SkImageFilter* input = getInput(0);
SkIPoint srcOffset = SkIPoint::Make(0, 0);
- if (input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) {
+ if (!this->filterInput(0, proxy, src, ctx, &source, &srcOffset)) {
return false;
}