Index: gm/bitmapmatrix.cpp |
=================================================================== |
--- gm/bitmapmatrix.cpp (revision 11108) |
+++ gm/bitmapmatrix.cpp (working copy) |
@@ -7,6 +7,7 @@ |
*/ |
#include "gm.h" |
#include "SkBitmap.h" |
+#include "SkBlurMask.h" |
#include "SkBlurMaskFilter.h" |
#include "SkCanvas.h" |
#include "SkColor.h" |
@@ -83,8 +84,8 @@ |
paint.setFilterBitmap(true); |
SkMaskFilter* mf = SkBlurMaskFilter::Create( |
- 5, |
SkBlurMaskFilter::kNormal_BlurStyle, |
+ SkBlurMask::ConvertRadiusToSigma(5), |
SkBlurMaskFilter::kHighQuality_BlurFlag | |
SkBlurMaskFilter::kIgnoreTransform_BlurFlag); |
paint.setMaskFilter(mf)->unref(); |