Index: src/effects/SkTestImageFilters.cpp |
diff --git a/src/effects/SkTestImageFilters.cpp b/src/effects/SkTestImageFilters.cpp |
index d62fc725cc8c8e3789db9a0ab7fe6bcce5b19e49..5cc890c8487928aa0395a621cf3b4d1052805311 100755 |
--- a/src/effects/SkTestImageFilters.cpp |
+++ b/src/effects/SkTestImageFilters.cpp |
@@ -82,7 +82,7 @@ sk_sp<SkSpecialImage> SkDownSampleImageFilter::onFilterImage(SkSpecialImage* sou |
sk_sp<SkFlattenable> SkDownSampleImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 1); |
- return sk_sp<SkFlattenable>(Create(buffer.readScalar(), common.getInput(0).get())); |
+ return Make(buffer.readScalar(), common.getInput(0)); |
} |
void SkDownSampleImageFilter::flatten(SkWriteBuffer& buffer) const { |