Index: gm/imagefiltersclipped.cpp |
diff --git a/gm/imagefiltersclipped.cpp b/gm/imagefiltersclipped.cpp |
index f2434112fa0a752785ed3ffe1665f95e0ec113d0..7989f8b4b02e20a7f1cd0a65637354deaeefedc1 100644 |
--- a/gm/imagefiltersclipped.cpp |
+++ b/gm/imagefiltersclipped.cpp |
@@ -100,12 +100,11 @@ protected: |
SkIntToScalar(3), SkIntToScalar(3), SK_ColorGREEN, |
SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode, |
nullptr), |
- sk_sp<SkImageFilter>(SkDisplacementMapEffect::Create( |
- SkDisplacementMapEffect::kR_ChannelSelectorType, |
- SkDisplacementMapEffect::kR_ChannelSelectorType, |
- SkIntToScalar(12), |
- gradient.get(), |
- checkerboard.get())), |
+ SkDisplacementMapEffect::Make(SkDisplacementMapEffect::kR_ChannelSelectorType, |
+ SkDisplacementMapEffect::kR_ChannelSelectorType, |
+ SkIntToScalar(12), |
+ std::move(gradient), |
+ checkerboard), |
SkDilateImageFilter::Make(2, 2, checkerboard), |
SkErodeImageFilter::Make(2, 2, checkerboard), |
SkOffsetImageFilter::Make(SkIntToScalar(-16), SkIntToScalar(32), nullptr), |