Index: samplecode/SampleXfermodesBlur.cpp |
diff --git a/samplecode/SampleXfermodesBlur.cpp b/samplecode/SampleXfermodesBlur.cpp |
index f995c6aa7ea1159195ba2dfbd49be8e9a7835378..63c90fea15507a7470ee96a9fa5b1b08113493af 100644 |
--- a/samplecode/SampleXfermodesBlur.cpp |
+++ b/samplecode/SampleXfermodesBlur.cpp |
@@ -150,10 +150,8 @@ protected: |
const SkScalar h = SkIntToScalar(H); |
SkMatrix m; |
m.setScale(SkIntToScalar(6), SkIntToScalar(6)); |
- SkShader* s = SkShader::CreateBitmapShader(fBG, |
- SkShader::kRepeat_TileMode, |
- SkShader::kRepeat_TileMode, |
- &m); |
+ auto s = SkShader::MakeBitmapShader(fBG, SkShader::kRepeat_TileMode, |
+ SkShader::kRepeat_TileMode, &m); |
SkPaint labelP; |
labelP.setAntiAlias(true); |