Index: src/core/SkSpriteBlitter_RGB16.cpp |
diff --git a/src/core/SkSpriteBlitter_RGB16.cpp b/src/core/SkSpriteBlitter_RGB16.cpp |
index 3f712bb3ecfc4c96b10f1d4fd8a13cebcae0a6aa..1ba3ee22fcbaae8a4271963f6c3844c7317e6721 100644 |
--- a/src/core/SkSpriteBlitter_RGB16.cpp |
+++ b/src/core/SkSpriteBlitter_RGB16.cpp |
@@ -278,7 +278,7 @@ public: |
if (paint.isDither()) { |
flags |= SkBlitRow::kDither_Flag; |
} |
- fProc = SkBlitRow::Factory(flags, SkBitmap::kRGB_565_Config); |
+ fProc = SkBlitRow::Factory(flags, kRGB_565_SkColorType); |
} |
virtual void blitRect(int x, int y, int width, int height) { |