Index: src/core/SkBlitter_RGB16.cpp |
diff --git a/src/core/SkBlitter_RGB16.cpp b/src/core/SkBlitter_RGB16.cpp |
index e22aac4edaccbf0fcaf4ed7cbca6c8657b05acfb..4503a2ae7928ea409c232d052b111cb37796d2ae 100644 |
--- a/src/core/SkBlitter_RGB16.cpp |
+++ b/src/core/SkBlitter_RGB16.cpp |
@@ -826,10 +826,10 @@ SkRGB16_Shader_Blitter::SkRGB16_Shader_Blitter(const SkBitmap& device, |
flags |= SkBlitRow::kDither_Flag; |
} |
// used when we know our global alpha is 0xFF |
- fOpaqueProc = SkBlitRow::Factory(flags, SkBitmap::kRGB_565_Config); |
+ fOpaqueProc = SkBlitRow::Factory(flags, kRGB_565_SkColorType); |
// used when we know our global alpha is < 0xFF |
fAlphaProc = SkBlitRow::Factory(flags | SkBlitRow::kGlobalAlpha_Flag, |
- SkBitmap::kRGB_565_Config); |
+ kRGB_565_SkColorType); |
} |
SkRGB16_Shader_Blitter::~SkRGB16_Shader_Blitter() { |