Index: src/effects/SkImageSource.cpp |
diff --git a/src/effects/SkImageSource.cpp b/src/effects/SkImageSource.cpp |
index f434de4aa0975ac655cf3990a2286ad8abb80cf9..f96a4a16769b04e27f6032fa4a0f362313ae8138 100644 |
--- a/src/effects/SkImageSource.cpp |
+++ b/src/effects/SkImageSource.cpp |
@@ -108,7 +108,7 @@ sk_sp<SkSpecialImage> SkImageSource::onFilterImage(SkSpecialImage* source, const |
// Subtract off the integer component of the translation (will be applied in offset, below). |
dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop)); |
- paint.setXfermodeMode(SkXfermode::kSrc_Mode); |
+ paint.setBlendMode(SkBlendMode::kSrc); |
// FIXME: this probably shouldn't be necessary, but drawImageRect asserts |
// None filtering when it's translate-only |
paint.setFilterQuality( |