Index: src/opts/SkBitmapProcState_opts_SSSE3.cpp |
diff --git a/src/opts/SkBitmapProcState_opts_SSSE3.cpp b/src/opts/SkBitmapProcState_opts_SSSE3.cpp |
index 1246b953f463122e49ada87ad74a1b16d2a53e7d..f18b7e1eb159f6b8c8bfe8867b9989d1c141bcb8 100644 |
--- a/src/opts/SkBitmapProcState_opts_SSSE3.cpp |
+++ b/src/opts/SkBitmapProcState_opts_SSSE3.cpp |
@@ -385,7 +385,7 @@ void S32_generic_D32_filter_DX_SSSE3(const SkBitmapProcState& s, |
const uint32_t* xy, |
int count, uint32_t* colors) { |
SkASSERT(count > 0 && colors != NULL); |
- SkASSERT(s.fDoFilter); |
+ SkASSERT(s.fFilterQuality != SkBitmapProcState::kNone_BitmapFilter); |
SkASSERT(s.fBitmap->config() == SkBitmap::kARGB_8888_Config); |
if (has_alpha) { |
SkASSERT(s.fAlphaScale < 256); |
@@ -576,7 +576,7 @@ void S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, |
const uint32_t* xy, |
int count, uint32_t* colors) { |
SkASSERT(count > 0 && colors != NULL); |
- SkASSERT(s.fDoFilter); |
+ SkASSERT(s.fFilterQuality != SkBitmapProcState::kNone_BitmapFilter); |
SkASSERT(s.fBitmap->config() == SkBitmap::kARGB_8888_Config); |
if (has_alpha) { |
SkASSERT(s.fAlphaScale < 256); |