Index: src/effects/SkBitmapSource.cpp |
diff --git a/src/effects/SkBitmapSource.cpp b/src/effects/SkBitmapSource.cpp |
index fc86f194b059909651518d6c29da3413c316e36b..87c6053cc4a61e179f66dd8ae11bde744eafa7b7 100644 |
--- a/src/effects/SkBitmapSource.cpp |
+++ b/src/effects/SkBitmapSource.cpp |
@@ -69,9 +69,9 @@ bool SkBitmapSource::onFilterImage(Proxy* proxy, const SkBitmap&, const Context& |
paint.setXfermodeMode(SkXfermode::kSrc_Mode); |
// FIXME: this probably shouldn't be necessary, but drawBitmapRectToRect asserts |
// None filtering when it's translate-only |
- paint.setFilterLevel( |
+ paint.setFilterQuality( |
fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? |
- SkPaint::kNone_FilterLevel : SkPaint::kHigh_FilterLevel); |
+ kNone_SkFilterQuality : kHigh_SkFilterQuality); |
canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint); |
*result = device.get()->accessBitmap(false); |