diff options
author | reed <reed@google.com> | 2015-03-16 10:08:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-16 10:08:34 -0700 |
commit | 93a1215fe0ab007ce941c721f1fd3e9dcb5d4754 (patch) | |
tree | d6dfbb67e08a7f3163008787a10c1ec9b492e291 /gm/filterfastbounds.cpp | |
parent | 903dcb08b146cbaf81420a734a64692038b467ca (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 'gm/filterfastbounds.cpp')
-rw-r--r-- | gm/filterfastbounds.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp index 206903f3eb..6244001374 100644 --- a/gm/filterfastbounds.cpp +++ b/gm/filterfastbounds.cpp @@ -94,7 +94,7 @@ static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) { scale.setScale(2.0f, 2.0f); SkAutoTUnref<SkMatrixImageFilter> scaleMIF( - SkMatrixImageFilter::Create(scale, SkPaint::kLow_FilterLevel, source)); + SkMatrixImageFilter::Create(scale, kLow_SkFilterQuality, source)); add_paint(scaleMIF, paints); } @@ -104,7 +104,7 @@ static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) { rot.setRotate(-33.3f); SkAutoTUnref<SkMatrixImageFilter> rotMIF( - SkMatrixImageFilter::Create(rot, SkPaint::kLow_FilterLevel, source)); + SkMatrixImageFilter::Create(rot, kLow_SkFilterQuality, source)); add_paint(rotMIF, paints); } |