aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/Benchmark.cpp
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 /bench/Benchmark.cpp
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 'bench/Benchmark.cpp')
-rw-r--r--bench/Benchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/Benchmark.cpp b/bench/Benchmark.cpp
index 6040f913ef..bf622b0683 100644
--- a/bench/Benchmark.cpp
+++ b/bench/Benchmark.cpp
@@ -53,7 +53,7 @@ void Benchmark::draw(const int loops, SkCanvas* canvas) {
void Benchmark::setupPaint(SkPaint* paint) {
paint->setAlpha(fForceAlpha);
paint->setAntiAlias(true);
- paint->setFilterLevel(SkPaint::kNone_FilterLevel);
+ paint->setFilterQuality(kNone_SkFilterQuality);
paint->setFlags((paint->getFlags() & ~fClearMask) | fOrMask);