Index: gm/blurroundrect.cpp |
diff --git a/gm/blurroundrect.cpp b/gm/blurroundrect.cpp |
index 9135ba099f54733ac5f44f49420f4ad9e095ee76..fe4a93994628d8401562f9a7321cde86add4017a 100644 |
--- a/gm/blurroundrect.cpp |
+++ b/gm/blurroundrect.cpp |
@@ -60,9 +60,10 @@ |
SkBlurMask::ConvertRadiusToSigma(SK_ScalarHalf), |
SkBlurMaskFilter::kHighQuality_BlurFlag); |
paint->setMaskFilter(maskFilter)->unref(); |
- paint->setColorFilter(SkColorFilter::MakeModeFilter( |
+ SkColorFilter* colorFilter = SkColorFilter::CreateModeFilter( |
sk_tool_utils::color_to_565(SK_ColorLTGRAY), |
- SkXfermode::kSrcIn_Mode)); |
+ SkXfermode::kSrcIn_Mode); |
+ paint->setColorFilter(colorFilter)->unref(); |
paint->setColor(sk_tool_utils::color_to_565(SK_ColorGRAY)); |
} |
{ |