Index: samplecode/SampleQuadStroker.cpp |
diff --git a/samplecode/SampleQuadStroker.cpp b/samplecode/SampleQuadStroker.cpp |
index ab65ff6d876127090724022738c67bae528b430a..30b8603bcf336bd9aa203040421e8f43209c9d05 100644 |
--- a/samplecode/SampleQuadStroker.cpp |
+++ b/samplecode/SampleQuadStroker.cpp |
@@ -248,7 +248,7 @@ protected: |
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); |