Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 2870f31ef1859445218851166bcf926872f3e8cb..67779ba14698bac5940525c67fdd10e27b9d9cd6 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -259,7 +259,7 @@ bool SkImage_Base::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, siz |
SkCanvas canvas(bm); |
SkPaint paint; |
- paint.setXfermodeMode(SkXfermode::kSrc_Mode); |
+ paint.setBlendMode(SkBlendMode::kSrc); |
canvas.drawImage(this, -SkIntToScalar(srcX), -SkIntToScalar(srcY), &paint); |
return true; |