Index: src/core/SkLocalMatrixImageFilter.cpp |
diff --git a/src/core/SkLocalMatrixImageFilter.cpp b/src/core/SkLocalMatrixImageFilter.cpp |
index d1b5715b7fe19c541aaad6e04bbe5f21ce80827d..bf29bd235be5b522d68778ab6f45f6e0f7f496b6 100644 |
--- a/src/core/SkLocalMatrixImageFilter.cpp |
+++ b/src/core/SkLocalMatrixImageFilter.cpp |
@@ -20,8 +20,7 @@ SkFlattenable* SkLocalMatrixImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 1); |
SkMatrix lm; |
buffer.readMatrix(&lm); |
- return SkLocalMatrixImageFilter::Make(lm, |
- sk_ref_sp<SkImageFilter>(common.getInput(0))).release(); |
+ return SkLocalMatrixImageFilter::Make(lm, common.getInput(0)).release(); |
} |
void SkLocalMatrixImageFilter::flatten(SkWriteBuffer& buffer) const { |