Index: gm/filterbitmap.cpp |
diff --git a/gm/filterbitmap.cpp b/gm/filterbitmap.cpp |
index 0afcb951018847528adb76e8c61413aff8d0ace1..4a1b89e4372edc6bd7649a556d79c1c988766c3f 100644 |
--- a/gm/filterbitmap.cpp |
+++ b/gm/filterbitmap.cpp |
@@ -31,11 +31,11 @@ static void draw_col(SkCanvas* canvas, const SkBitmap& bm, const SkMatrix& mat, |
canvas->drawBitmapMatrix(bm, mat, &paint); |
- paint.setFilterBitmap(true); |
+ paint.setFilterLevel(SkPaint::kLow_FilterLevel); |
canvas->translate(dx, 0); |
canvas->drawBitmapMatrix(bm, mat, &paint); |
- paint.setFlags(paint.getFlags() | SkPaint::kHighQualityFilterBitmap_Flag); |
+ paint.setFilterLevel(SkPaint::kHigh_FilterLevel); |
canvas->translate(dx, 0); |
canvas->drawBitmapMatrix(bm, mat, &paint); |
} |