Index: gm/shadertext3.cpp |
diff --git a/gm/shadertext3.cpp b/gm/shadertext3.cpp |
index 7b84f69e49598c9212c3c2a1906cdd5ab9b14191..1e0216ebda032c9d0dbadf9e5f5fcaf6f4194b8a 100644 |
--- a/gm/shadertext3.cpp |
+++ b/gm/shadertext3.cpp |
@@ -67,7 +67,7 @@ protected: |
SkPaint bmpPaint; |
bmpPaint.setAntiAlias(true); |
- bmpPaint.setFilterLevel(SkPaint::kLow_FilterLevel); |
+ bmpPaint.setFilterQuality(kLow_SkFilterQuality); |
bmpPaint.setAlpha(0x80); |
canvas->drawBitmap(fBmp, 5.f, 5.f, &bmpPaint); |
@@ -109,7 +109,7 @@ protected: |
fillPaint.setAntiAlias(true); |
sk_tool_utils::set_portable_typeface(&fillPaint); |
fillPaint.setTextSize(SkIntToScalar(kPointSize)); |
- fillPaint.setFilterLevel(SkPaint::kLow_FilterLevel); |
+ fillPaint.setFilterQuality(kLow_SkFilterQuality); |
fillPaint.setShader(shader); |
canvas->drawText(kText, kTextLen, 0, 0, fillPaint); |