Index: gm/downsamplebitmap.cpp |
diff --git a/gm/downsamplebitmap.cpp b/gm/downsamplebitmap.cpp |
index e34effa07fb3d16cd1cef9b0006ab400cf0ec302..5cb971d77a3da37ab7370a3949e8d79d82797d94 100644 |
--- a/gm/downsamplebitmap.cpp |
+++ b/gm/downsamplebitmap.cpp |
@@ -64,8 +64,7 @@ protected: |
matrix.setScale( curScale, curScale ); |
SkPaint paint; |
- paint.setFilterBitmap(true); |
- paint.setFlags( paint.getFlags() | SkPaint::kHighQualityFilterBitmap_Flag ); |
+ paint.setFilterLevel(SkPaint::kHigh_FilterLevel); |
canvas->save(); |
canvas->translate( (SkScalar) curX, 0.f ); |