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