Index: src/effects/SkTileImageFilter.cpp |
diff --git a/src/effects/SkTileImageFilter.cpp b/src/effects/SkTileImageFilter.cpp |
index 46c4d9af678948db7513a34ecb9766213b984bbe..a140db216b744e75058b3c6fe167a724933251fd 100644 |
--- a/src/effects/SkTileImageFilter.cpp |
+++ b/src/effects/SkTileImageFilter.cpp |
@@ -87,7 +87,7 @@ sk_sp<SkSpecialImage> SkTileImageFilter::onFilterImage(SkSpecialImage* source, |
SkASSERT(canvas); |
SkPaint paint; |
- paint.setXfermodeMode(SkXfermode::kSrc_Mode); |
+ paint.setBlendMode(SkBlendMode::kSrc); |
input->draw(canvas, |
SkIntToScalar(inputOffset.x()), SkIntToScalar(inputOffset.y()), |
@@ -107,7 +107,7 @@ sk_sp<SkSpecialImage> SkTileImageFilter::onFilterImage(SkSpecialImage* source, |
SkASSERT(canvas); |
SkPaint paint; |
- paint.setXfermodeMode(SkXfermode::kSrc_Mode); |
+ paint.setBlendMode(SkBlendMode::kSrc); |
paint.setShader(subset->makeShader(SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode)); |
canvas->translate(-dstRect.fLeft, -dstRect.fTop); |
canvas->drawRect(dstRect, paint); |