Index: src/core/SkBitmapProcState_matrixProcs.cpp |
diff --git a/src/core/SkBitmapProcState_matrixProcs.cpp b/src/core/SkBitmapProcState_matrixProcs.cpp |
index be0e371f7fb7db9c62a90c8237db86292b9d6e57..de97a905d43b9ab5d5f3ac89ee63d56d625faf8f 100644 |
--- a/src/core/SkBitmapProcState_matrixProcs.cpp |
+++ b/src/core/SkBitmapProcState_matrixProcs.cpp |
@@ -485,7 +485,7 @@ static void mirrorx_nofilter_trans(const SkBitmapProcState& s, |
SkBitmapProcState::MatrixProc SkBitmapProcState::chooseMatrixProc(bool trivial_matrix) { |
// test_int_tileprocs(); |
// check for our special case when there is no scale/affine/perspective |
- if (trivial_matrix && kNone_SkFilterQuality == fFilterLevel) { |
+ if (trivial_matrix && kNone_SkFilterQuality == fFilterQuality) { |
fIntTileProcY = choose_int_tile_proc(fTileModeY); |
switch (fTileModeX) { |
case SkShader::kClamp_TileMode: |
@@ -498,7 +498,7 @@ SkBitmapProcState::MatrixProc SkBitmapProcState::chooseMatrixProc(bool trivial_m |
} |
int index = 0; |
- if (fFilterLevel != kNone_SkFilterQuality) { |
+ if (fFilterQuality != kNone_SkFilterQuality) { |
index = 1; |
} |
if (fInvType & SkMatrix::kPerspective_Mask) { |