Index: gm/imagefiltersstroked.cpp |
diff --git a/gm/imagefiltersstroked.cpp b/gm/imagefiltersstroked.cpp |
index cca87375d41a78ecc9cea5a8d4a29dc9f808b306..13dc705433a4082fc1fa4129e4a611a57c37f0b5 100644 |
--- a/gm/imagefiltersstroked.cpp |
+++ b/gm/imagefiltersstroked.cpp |
@@ -59,8 +59,9 @@ protected: |
sk_sp<SkImageFilter> filters[] = { |
SkBlurImageFilter::Make(5, 5, nullptr), |
- sk_sp<SkImageFilter>(SkDropShadowImageFilter::Create(10, 10, 3, 3, SK_ColorGREEN, |
- SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode)), |
+ SkDropShadowImageFilter::Make(10, 10, 3, 3, SK_ColorGREEN, |
+ SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode, |
+ nullptr), |
SkOffsetImageFilter::Make(-16, 32, nullptr), |
SkImageFilter::MakeMatrixFilter(resizeMatrix, kNone_SkFilterQuality, nullptr), |
}; |