Index: samplecode/SampleTextureDomain.cpp |
diff --git a/samplecode/SampleTextureDomain.cpp b/samplecode/SampleTextureDomain.cpp |
index 47a3ab0a09c0cef1ffd2f7d5118264ccfb73ed37..926c5596b0905802c0669c1e7c0503a5df5d8d95 100644 |
--- a/samplecode/SampleTextureDomain.cpp |
+++ b/samplecode/SampleTextureDomain.cpp |
@@ -78,7 +78,7 @@ protected: |
srcRect.setXYWH(1, 1, 3, 3); |
dstRect.setXYWH(5, 405, 305, 305); |
SkMaskFilter* mf = SkBlurMaskFilter::Create( |
- SkBlurMaskFilter::kNormal_BlurStyle, |
+ kNormal_SkBlurStyle, |
SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(5)), |
SkBlurMaskFilter::kHighQuality_BlurFlag | |
SkBlurMaskFilter::kIgnoreTransform_BlurFlag); |
@@ -90,7 +90,7 @@ protected: |
// but it will test a code path in SkGpuDevice::drawBitmap |
// that handles blurs with rects transformed to non- |
// orthogonal rects. It also tests the NULL src rect handling |
- mf = SkBlurMaskFilter::Create(SkBlurMaskFilter::kNormal_BlurStyle, |
+ mf = SkBlurMaskFilter::Create(kNormal_SkBlurStyle, |
SkBlurMask::ConvertRadiusToSigma(5), |
SkBlurMaskFilter::kHighQuality_BlurFlag); |
paint.setMaskFilter(mf)->unref(); |