Index: src/core/SkPixmap.cpp |
diff --git a/src/core/SkPixmap.cpp b/src/core/SkPixmap.cpp |
index 77498396b018eb1c9a8c21fc9b6e7f1c2bcb7d74..108c87757b786c842ffd8f2db7caaa2f205d61d4 100644 |
--- a/src/core/SkPixmap.cpp |
+++ b/src/core/SkPixmap.cpp |
@@ -267,7 +267,7 @@ bool SkPixmap::scalePixels(const SkPixmap& dst, SkFilterQuality quality) const { |
SkPaint paint; |
paint.setFilterQuality(quality); |
- paint.setXfermodeMode(SkXfermode::kSrc_Mode); |
+ paint.setBlendMode(SkBlendMode::kSrc); |
surface->getCanvas()->drawBitmapRect(bitmap, SkRect::MakeIWH(dst.width(), dst.height()), |
&paint); |
return true; |