aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/animator
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-03-16 10:08:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-16 10:08:34 -0700
commit93a1215fe0ab007ce941c721f1fd3e9dcb5d4754 (patch)
treed6dfbb67e08a7f3163008787a10c1ec9b492e291 /src/animator
parent903dcb08b146cbaf81420a734a64692038b467ca (diff)
SkPaint::FilterLevel -> SkFilterQuality
clone (+rebase) of https://codereview.chromium.org/1009183002/ BUG=skia: TBR=scroggo@google.com Review URL: https://codereview.chromium.org/1014533004
Diffstat (limited to 'src/animator')
-rw-r--r--src/animator/SkDrawPaint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animator/SkDrawPaint.cpp b/src/animator/SkDrawPaint.cpp
index c882427585..f5d33881a0 100644
--- a/src/animator/SkDrawPaint.cpp
+++ b/src/animator/SkDrawPaint.cpp
@@ -218,7 +218,7 @@ void SkDrawPaint::setupPaint(SkPaint* paint) const {
if (fakeBold != -1)
paint->setFakeBoldText(SkToBool(fakeBold));
if (filterBitmap != -1)
- paint->setFilterLevel(filterBitmap ? SkPaint::kLow_FilterLevel : SkPaint::kNone_FilterLevel);
+ paint->setFilterQuality(filterBitmap ? kLow_SkFilterQuality : kNone_SkFilterQuality);
// stroke is legacy; style setting if present overrides stroke
if (stroke != -1)
paint->setStyle(SkToBool(stroke) ? SkPaint::kStroke_Style : SkPaint::kFill_Style);