Index: bench/BlurRoundRectBench.cpp |
diff --git a/bench/BlurRoundRectBench.cpp b/bench/BlurRoundRectBench.cpp |
index 85852d581e32317ec0955dd3b4e56274ce9e20a8..46f410d3b34c6a3cad9d11336e8b044ecb999e78 100644 |
--- a/bench/BlurRoundRectBench.cpp |
+++ b/bench/BlurRoundRectBench.cpp |
@@ -54,9 +54,8 @@ public: |
SkBlurMask::ConvertRadiusToSigma(SK_ScalarHalf), |
SkBlurMaskFilter::kHighQuality_BlurFlag); |
paint->setMaskFilter(maskFilter)->unref(); |
- SkColorFilter* colorFilter = SkColorFilter::CreateModeFilter(SK_ColorLTGRAY, |
- SkXfermode::kSrcIn_Mode); |
- paint->setColorFilter(colorFilter)->unref(); |
+ paint->setColorFilter(SkColorFilter::MakeModeFilter(SK_ColorLTGRAY, |
+ SkXfermode::kSrcIn_Mode)); |
paint->setColor(SK_ColorGRAY); |
} |
{ |