Index: src/animator/SkDrawPaint.cpp |
diff --git a/src/animator/SkDrawPaint.cpp b/src/animator/SkDrawPaint.cpp |
index 22d99e4f21cd0e9070c71023b4a0adfa12385e60..825d0486a7a930d8421859f22371e021e527482b 100644 |
--- a/src/animator/SkDrawPaint.cpp |
+++ b/src/animator/SkDrawPaint.cpp |
@@ -220,7 +220,7 @@ void SkDrawPaint::setupPaint(SkPaint* paint) const { |
if (fakeBold != -1) |
paint->setFakeBoldText(SkToBool(fakeBold)); |
if (filterBitmap != -1) |
- paint->setFilterBitmap(SkToBool(filterBitmap)); |
+ paint->setFilterLevel(filterBitmap ? SkPaint::kLow_FilterLevel : SkPaint::kNone_FilterLevel); |
// stroke is legacy; style setting if present overrides stroke |
if (stroke != -1) |
paint->setStyle(SkToBool(stroke) ? SkPaint::kStroke_Style : SkPaint::kFill_Style); |