Index: samplecode/SampleFatBits.cpp |
diff --git a/samplecode/SampleFatBits.cpp b/samplecode/SampleFatBits.cpp |
index 8da6058f9d468b82e7e239406b4a50c5934976ee..82eb25fd702240ee0f6aa10634de1c3cd2afd284 100644 |
--- a/samplecode/SampleFatBits.cpp |
+++ b/samplecode/SampleFatBits.cpp |
@@ -163,7 +163,7 @@ private: |
canvas->restore(); |
SkPaint paint; |
- paint.setXfermodeMode(SkXfermode::kClear_Mode); |
+ paint.setBlendMode(SkBlendMode::kClear); |
for (int iy = 1; iy < fH; ++iy) { |
SkScalar y = SkIntToScalar(iy * fZoom); |
canvas->drawLine(0, y - SK_ScalarHalf, 999, y - SK_ScalarHalf, paint); |