Index: src/core/SkBlitRow_D16.cpp |
diff --git a/src/core/SkBlitRow_D16.cpp b/src/core/SkBlitRow_D16.cpp |
index e244723986a8af769cfa1469aa2d331f70348dd5..1b2be06d12590f2c419739a9eaf5b8a3b94d2a47 100644 |
--- a/src/core/SkBlitRow_D16.cpp |
+++ b/src/core/SkBlitRow_D16.cpp |
@@ -224,15 +224,15 @@ static const SkBlitRow::Proc gDefault_565_Procs[] = { |
S32A_D565_Blend_Dither |
}; |
-SkBlitRow::Proc SkBlitRow::Factory(unsigned flags, SkBitmap::Config config) { |
+SkBlitRow::Proc SkBlitRow::Factory(unsigned flags, SkColorType ct) { |
SkASSERT(flags < SK_ARRAY_COUNT(gDefault_565_Procs)); |
// just so we don't crash |
flags &= kFlags16_Mask; |
SkBlitRow::Proc proc = NULL; |
- switch (config) { |
- case SkBitmap::kRGB_565_Config: |
+ switch (ct) { |
+ case kRGB_565_SkColorType: |
proc = PlatformProcs565(flags); |
if (NULL == proc) { |
proc = gDefault_565_Procs[flags]; |