Index: gm/localmatriximagefilter.cpp |
diff --git a/gm/localmatriximagefilter.cpp b/gm/localmatriximagefilter.cpp |
index 5414fe341cc0a3a89f08d53a8a74e3370630ed62..5c49671cd6373e9e1009027cd4c99506a69be50b 100644 |
--- a/gm/localmatriximagefilter.cpp |
+++ b/gm/localmatriximagefilter.cpp |
@@ -68,7 +68,7 @@ protected: |
IFCCast([]{ return SkBlurImageFilter::Create(8, 8); }), |
IFCCast([]{ return SkDilateImageFilter::Create(8, 8); }), |
IFCCast([]{ return SkErodeImageFilter::Create(8, 8); }), |
- IFCCast([]{ return SkOffsetImageFilter::Create(8, 8); }), |
+ IFCCast([]{ return SkOffsetImageFilter::Make(8, 8, nullptr).release(); }), |
}; |
const SkMatrix matrices[] = { |