Index: src/effects/SkComposeImageFilter.cpp |
diff --git a/src/effects/SkComposeImageFilter.cpp b/src/effects/SkComposeImageFilter.cpp |
index 3cd8a9e6fd0716095f7ea971822dcece583eb3a3..e2a27a8312c07634a9d01b36fb4d5f5cee8c33b0 100644 |
--- a/src/effects/SkComposeImageFilter.cpp |
+++ b/src/effects/SkComposeImageFilter.cpp |
@@ -60,8 +60,7 @@ SkIRect SkComposeImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& |
SkFlattenable* SkComposeImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 2); |
- return SkComposeImageFilter::Make(sk_ref_sp<SkImageFilter>(common.getInput(0)), |
- sk_ref_sp<SkImageFilter>(common.getInput(1))).release(); |
+ return SkComposeImageFilter::Make(common.getInput(0), common.getInput(1)).release(); |
} |
#ifndef SK_IGNORE_TO_STRING |