Index: bench/BitmapBench.cpp |
diff --git a/bench/BitmapBench.cpp b/bench/BitmapBench.cpp |
index c5efe9e9b8b68deaef07212fa04ee411c80a7f43..1ac1992ab682a386008e458c57ff5e571d112878 100644 |
--- a/bench/BitmapBench.cpp |
+++ b/bench/BitmapBench.cpp |
@@ -257,13 +257,13 @@ protected: |
if (fFlags & kBicubic_Flag) { |
index |= 2; |
} |
- static const SkPaint::FilterLevel gLevels[] = { |
- SkPaint::kNone_FilterLevel, |
- SkPaint::kLow_FilterLevel, |
- SkPaint::kMedium_FilterLevel, |
- SkPaint::kHigh_FilterLevel |
+ static const SkFilterQuality gQualitys[] = { |
+ kNone_SkFilterQuality, |
+ kLow_SkFilterQuality, |
+ kMedium_SkFilterQuality, |
+ kHigh_SkFilterQuality |
}; |
- paint->setFilterLevel(gLevels[index]); |
+ paint->setFilterQuality(gQualitys[index]); |
} |
private: |