Index: gm/imagefilterscropexpand.cpp |
diff --git a/gm/imagefilterscropexpand.cpp b/gm/imagefilterscropexpand.cpp |
index 3d5fcf3612f217071fcb27d90e31fc12d71a82fc..4ce845d9eea06ff1f6ce831a72b038a698f55873 100644 |
--- a/gm/imagefilterscropexpand.cpp |
+++ b/gm/imagefilterscropexpand.cpp |
@@ -107,13 +107,12 @@ protected: |
&bigRect)); |
Draw(canvas, checkerboard, rect, |
- sk_sp<SkImageFilter>(SkDisplacementMapEffect::Create( |
- SkDisplacementMapEffect::kR_ChannelSelectorType, |
- SkDisplacementMapEffect::kR_ChannelSelectorType, |
- SkIntToScalar(12), |
- gradientCircleSource.get(), |
- noopCropped.get(), |
- &bigRect))); |
+ SkDisplacementMapEffect::Make(SkDisplacementMapEffect::kR_ChannelSelectorType, |
+ SkDisplacementMapEffect::kR_ChannelSelectorType, |
+ SkIntToScalar(12), |
+ gradientCircleSource, |
+ noopCropped, |
+ &bigRect)); |
Draw(canvas, checkerboard, rect, |
SkOffsetImageFilter::Make(SkIntToScalar(-8), SkIntToScalar(16), |