Index: samplecode/SampleRegion.cpp |
diff --git a/samplecode/SampleRegion.cpp b/samplecode/SampleRegion.cpp |
index 1934dc74cb3f120d66c9d642b743189a62c53797..082ff222865ed2bac60c11ec594e635119c4647e 100644 |
--- a/samplecode/SampleRegion.cpp |
+++ b/samplecode/SampleRegion.cpp |
@@ -80,7 +80,7 @@ static void drawFadingText(SkCanvas* canvas, |
SkPaint p; |
p.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 3, SkShader::kClamp_TileMode)); |
- p.setXfermodeMode(SkXfermode::kDstIn_Mode); |
+ p.setBlendMode(SkBlendMode::kDstIn); |
canvas->drawRect(bounds, p); |
canvas->restore(); |