Index: gm/imagefilterstransformed.cpp |
diff --git a/gm/imagefilterstransformed.cpp b/gm/imagefilterstransformed.cpp |
index 291d1d46ecb5a2e1182c4a7ff14ef87fe537cdc7..ce7ba5d6e0793faa1f1c8964429925a3acde515b 100644 |
--- a/gm/imagefilterstransformed.cpp |
+++ b/gm/imagefilterstransformed.cpp |
@@ -69,12 +69,11 @@ protected: |
SkBlurImageFilter::Make(12, 0, nullptr), |
SkDropShadowImageFilter::Make(0, 15, 8, 0, SK_ColorGREEN, |
SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode, nullptr), |
- sk_sp<SkImageFilter>(SkDisplacementMapEffect::Create( |
- SkDisplacementMapEffect::kR_ChannelSelectorType, |
- SkDisplacementMapEffect::kR_ChannelSelectorType, |
- 12, |
- gradient.get(), |
- checkerboard.get())), |
+ SkDisplacementMapEffect::Make(SkDisplacementMapEffect::kR_ChannelSelectorType, |
+ SkDisplacementMapEffect::kR_ChannelSelectorType, |
+ 12, |
+ std::move(gradient), |
+ checkerboard), |
SkDilateImageFilter::Make(2, 2, checkerboard), |
SkErodeImageFilter::Make(2, 2, checkerboard), |
}; |