aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkLocalMatrixImageFilter.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-03-30 13:34:16 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-30 13:34:17 -0700
commit2238c9dbca4b791edc512957728a18ce14d55912 (patch)
tree684102215b697506f7c2dce012bb89183467e208 /src/core/SkLocalMatrixImageFilter.cpp
parent3243143f25f4ccba632847574cf8e1a8ee0fe0f2 (diff)
Update SkMergeImageFilter to sk_sp
Diffstat (limited to 'src/core/SkLocalMatrixImageFilter.cpp')
-rw-r--r--src/core/SkLocalMatrixImageFilter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkLocalMatrixImageFilter.cpp b/src/core/SkLocalMatrixImageFilter.cpp
index d1b5715b7f..bf29bd235b 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 {