Index: bench/TileBench.cpp |
diff --git a/bench/TileBench.cpp b/bench/TileBench.cpp |
index 03a758cdea03bcd83c4c638e994bd9d1fb053426..4619d8b1efea8fb6dc21773bbcab82b8f37bc1bd 100644 |
--- a/bench/TileBench.cpp |
+++ b/bench/TileBench.cpp |
@@ -85,7 +85,8 @@ protected: |
virtual void onDraw(SkCanvas* canvas) { |
SkPaint paint(fPaint); |
this->setupPaint(&paint); |
- paint.setFilterBitmap(fDoFilter); |
+ paint.setFilterLevel(fDoFilter ? SkPaint::kLow_FilterLevel |
+ : SkPaint::kNone_FilterLevel); |
if (fDoTrans) { |
paint.setColor(SkColorSetARGBMacro(0x80, 0xFF, 0xFF, 0xFF)); |
} |