Index: src/core/SkBitmapProcState_matrixProcs.cpp |
diff --git a/src/core/SkBitmapProcState_matrixProcs.cpp b/src/core/SkBitmapProcState_matrixProcs.cpp |
index d3cd5504fb2d0ab639fbf3cdd976d0c5b518a871..a3d2b08665335c5f1b345589ff4e5db82ca6dc78 100644 |
--- a/src/core/SkBitmapProcState_matrixProcs.cpp |
+++ b/src/core/SkBitmapProcState_matrixProcs.cpp |
@@ -472,7 +472,7 @@ SkBitmapProcState::chooseMatrixProc(bool trivial_matrix) { |
// test_int_tileprocs(); |
// check for our special case when there is no scale/affine/perspective |
if (trivial_matrix) { |
- SkASSERT(kNone_BitmapFilter == fFilterQuality); |
+ SkASSERT(SkPaint::kNone_FilterLevel == fFilterLevel); |
fIntTileProcY = choose_int_tile_proc(fTileModeY); |
switch (fTileModeX) { |
case SkShader::kClamp_TileMode: |
@@ -485,7 +485,7 @@ SkBitmapProcState::chooseMatrixProc(bool trivial_matrix) { |
} |
int index = 0; |
- if (fFilterQuality != kNone_BitmapFilter) { |
+ if (fFilterLevel != SkPaint::kNone_FilterLevel) { |
index = 1; |
} |
if (fInvType & SkMatrix::kPerspective_Mask) { |