Index: src/codec/SkSwizzler.h |
diff --git a/src/codec/SkSwizzler.h b/src/codec/SkSwizzler.h |
index 76ca74877a391c9670ef8f71d68a8ed8ad131e52..2fab7f66b6ea15184c3618304a012a9b4bf4df1c 100644 |
--- a/src/codec/SkSwizzler.h |
+++ b/src/codec/SkSwizzler.h |
@@ -19,6 +19,7 @@ public: |
*/ |
enum SrcConfig { |
kUnknown, // Invalid type. |
+ kBit, // A single bit to distinguish between white and black |
kGray, |
kIndex1, |
kIndex2, |
@@ -76,6 +77,7 @@ public: |
*/ |
static int BitsPerPixel(SrcConfig sc) { |
switch (sc) { |
+ case kBit: |
case kIndex1: |
return 1; |
case kIndex2: |