Index: src/opts/SkBitmapProcState_opts_arm.cpp |
diff --git a/src/opts/SkBitmapProcState_opts_arm.cpp b/src/opts/SkBitmapProcState_opts_arm.cpp |
index c2376d42a749cbe99fec40e5c146a2e5ef1312f9..ffa0ccfa8aabe612d2dbc74f7892e3a6174c9c0b 100644 |
--- a/src/opts/SkBitmapProcState_opts_arm.cpp |
+++ b/src/opts/SkBitmapProcState_opts_arm.cpp |
@@ -202,8 +202,8 @@ void SkBitmapProcState::platformProcs() { |
justDx = true; |
} |
- switch (fBitmap->config()) { |
- case SkBitmap::kIndex8_Config: |
+ switch (fBitmap->colorType()) { |
+ case kIndex_8_SkColorType: |
if (justDx && SkPaint::kNone_FilterLevel == fFilterLevel) { |
#if 0 /* crashing on android device */ |
fSampleProc16 = SI8_D16_nofilter_DX_arm; |