Index: gm/imagefiltersscaled.cpp |
diff --git a/gm/imagefiltersscaled.cpp b/gm/imagefiltersscaled.cpp |
index 9bfac68c125a08198f7f16c6b5613fde62d7f436..d9f38bb443c9746d732c70472c38fc3fd31cffe9 100644 |
--- a/gm/imagefiltersscaled.cpp |
+++ b/gm/imagefiltersscaled.cpp |
@@ -84,7 +84,7 @@ protected: |
checkerboard.get()), |
SkDilateImageFilter::Create(1, 1, checkerboard.get()), |
SkErodeImageFilter::Create(1, 1, checkerboard.get()), |
- SkOffsetImageFilter::Create(SkIntToScalar(32), 0), |
+ SkOffsetImageFilter::Make(SkIntToScalar(32), 0, nullptr).release(), |
SkImageFilter::CreateMatrixFilter(resizeMatrix, kNone_SkFilterQuality), |
SkPaintImageFilter::Make(noisePaint).release(), |
SkLightingImageFilter::CreatePointLitDiffuse(pointLocation, white, surfaceScale, kd), |