commit | 93a1215fe0ab007ce941c721f1fd3e9dcb5d4754 | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Mon Mar 16 10:08:34 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Mar 16 10:08:34 2015 -0700 |
tree | d6dfbb67e08a7f3163008787a10c1ec9b492e291 | |
parent | 903dcb08b146cbaf81420a734a64692038b467ca [diff] [blame] |
SkPaint::FilterLevel -> SkFilterQuality clone (+rebase) of https://codereview.chromium.org/1009183002/ BUG=skia: TBR=scroggo@google.com Review URL: https://codereview.chromium.org/1014533004
diff --git a/gm/tallstretchedbitmaps.cpp b/gm/tallstretchedbitmaps.cpp index 06b2335..e62c5d7 100644 --- a/gm/tallstretchedbitmaps.cpp +++ b/gm/tallstretchedbitmaps.cpp
@@ -87,7 +87,7 @@ bmp.width(), bmp.height()); SkRect dstRect = SkRect::MakeWH(SkIntToScalar(bmp.width()), 10.f * itemHeight); SkPaint paint; - paint.setFilterLevel(SkPaint::kLow_FilterLevel); + paint.setFilterQuality(kLow_SkFilterQuality); canvas->drawBitmapRect(bmp, &subRect, dstRect, &paint); canvas->translate(SkIntToScalar(bmp.width() + 10), 0); }