Index: samplecode/SampleTiling.cpp |
diff --git a/samplecode/SampleTiling.cpp b/samplecode/SampleTiling.cpp |
index 62f055f61ec5c100df71e570a23340d402f3fb29..dbc7d091459b5f443407db2261d23d93136a3f2a 100644 |
--- a/samplecode/SampleTiling.cpp |
+++ b/samplecode/SampleTiling.cpp |
@@ -55,12 +55,12 @@ static const int gHeight = 32; |
class TilingView : public SampleView { |
sk_sp<SkPicture> fTextPicture; |
- SkAutoTUnref<SkDrawLooper> fLooper; |
+ sk_sp<SkDrawLooper> fLooper; |
public: |
TilingView() |
- : fLooper(SkBlurDrawLooper::Create(0x88000000, |
- SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(1)), |
- SkIntToScalar(2), SkIntToScalar(2))) { |
+ : fLooper(SkBlurDrawLooper::Make(0x88000000, |
+ SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(1)), |
+ SkIntToScalar(2), SkIntToScalar(2))) { |
for (size_t i = 0; i < SK_ARRAY_COUNT(gColorTypes); i++) { |
makebm(&fTexture[i], gColorTypes[i], gWidth, gHeight); |
} |