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