Index: samplecode/SampleFilter2.cpp |
diff --git a/samplecode/SampleFilter2.cpp b/samplecode/SampleFilter2.cpp |
index 0c811969baccc54326df276908d20ce5c2be9afb..3541e15e2aebc06bbdcb3f9f8c70ff1949b3c1e9 100644 |
--- a/samplecode/SampleFilter2.cpp |
+++ b/samplecode/SampleFilter2.cpp |
@@ -74,7 +74,7 @@ protected: |
canvas->scale(SK_Scalar1, scale); |
for (int k = 0; k < 2; k++) { |
- paint.setFilterLevel(k == 1 ? SkPaint::kLow_FilterLevel : SkPaint::kNone_FilterLevel); |
+ paint.setFilterQuality(k == 1 ? kLow_SkFilterQuality : kNone_SkFilterQuality); |
for (int j = 0; j < 2; j++) { |
paint.setDither(j == 1); |
for (int i = 0; i < fBitmapCount; i++) { |
@@ -91,7 +91,7 @@ protected: |
SkString s("dither="); |
s.appendS32(paint.isDither()); |
s.append(" filter="); |
- s.appendS32(paint.getFilterLevel() != SkPaint::kNone_FilterLevel); |
+ s.appendS32(paint.getFilterQuality() != kNone_SkFilterQuality); |
canvas->drawText(s.c_str(), s.size(), x + W/2, |
y - p.getTextSize(), p); |
} |