Index: gm/bicubicfilter.cpp |
diff --git a/gm/bicubicfilter.cpp b/gm/bicubicfilter.cpp |
index c3f80df1183125a042d7cbf954ec40046fbdd805..7eb0aeebb276e5db417fc6cb0fa7f7ef0c1259db 100644 |
--- a/gm/bicubicfilter.cpp |
+++ b/gm/bicubicfilter.cpp |
@@ -57,7 +57,7 @@ protected: |
SkSize scale = SkSize::Make(sk32, sk32); |
canvas->save(); |
canvas->scale(sk32, sk32); |
- bilinearPaint.setFilterBitmap(true); |
+ bilinearPaint.setFilterLevel(SkPaint::kLow_FilterLevel); |
canvas->drawBitmap(fCheckerboard, 0, 0, &bilinearPaint); |
canvas->restore(); |
SkAutoTUnref<SkImageFilter> bicubic(SkBicubicImageFilter::CreateMitchell(scale)); |