Index: gm/blurroundrect.cpp |
diff --git a/gm/blurroundrect.cpp b/gm/blurroundrect.cpp |
index 6b11f841c0fa4e35176060861f7b745a6b0870cb..4b3f3bcc9a6349c8ebfcff648892d69cb0d38da3 100644 |
--- a/gm/blurroundrect.cpp |
+++ b/gm/blurroundrect.cpp |
@@ -66,10 +66,11 @@ public: |
SkBlurMask::ConvertRadiusToSigma(SK_ScalarHalf), |
SkBlurMaskFilter::kHighQuality_BlurFlag); |
paint->setMaskFilter(maskFilter)->unref(); |
- SkColorFilter* colorFilter = SkColorFilter::CreateModeFilter(SK_ColorLTGRAY, |
+ SkColorFilter* colorFilter = SkColorFilter::CreateModeFilter( |
+ sk_tool_utils::color_to_565(SK_ColorLTGRAY), |
SkXfermode::kSrcIn_Mode); |
paint->setColorFilter(colorFilter)->unref(); |
- paint->setColor(SK_ColorGRAY); |
+ paint->setColor(sk_tool_utils::color_to_565(SK_ColorGRAY)); |
} |
{ |
SkLayerDrawLooper::LayerInfo info; |