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