Index: src/core/SkBlitter_Sprite.cpp |
diff --git a/src/core/SkBlitter_Sprite.cpp b/src/core/SkBlitter_Sprite.cpp |
index 9322e203967376fdb5b20654f5223c3fdc1ea1a7..86251ff59f501fe064c3c59f9208990970f82bb1 100644 |
--- a/src/core/SkBlitter_Sprite.cpp |
+++ b/src/core/SkBlitter_Sprite.cpp |
@@ -66,12 +66,12 @@ SkBlitter* SkBlitter::ChooseSprite( const SkBitmap& device, |
SkSpriteBlitter* blitter; |
- switch (device.config()) { |
- case SkBitmap::kRGB_565_Config: |
+ switch (device.colorType()) { |
+ case kRGB_565_SkColorType: |
blitter = SkSpriteBlitter::ChooseD16(source, paint, storage, |
storageSize); |
break; |
- case SkBitmap::kARGB_8888_Config: |
+ case kPMColor_SkColorType: |
blitter = SkSpriteBlitter::ChooseD32(source, paint, storage, |
storageSize); |
break; |