Index: src/effects/SkTestImageFilters.cpp |
diff --git a/src/effects/SkTestImageFilters.cpp b/src/effects/SkTestImageFilters.cpp |
index b8b0e187ede4452ff3523e56fed8b445b3279fa2..a77f5190ffde0ed4d13db5a6ee737417b60dd7cb 100755 |
--- a/src/effects/SkTestImageFilters.cpp |
+++ b/src/effects/SkTestImageFilters.cpp |
@@ -77,7 +77,7 @@ bool SkDownSampleImageFilter::onFilterImageDeprecated(Proxy* proxy, const SkBitm |
SkFlattenable* SkDownSampleImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 1); |
- return Create(buffer.readScalar(), common.getInput(0)); |
+ return Create(buffer.readScalar(), common.getInput(0).get()); |
} |
void SkDownSampleImageFilter::flatten(SkWriteBuffer& buffer) const { |