Chromium Code Reviews| Index: src/codec/SkSwizzler.h |
| diff --git a/src/codec/SkSwizzler.h b/src/codec/SkSwizzler.h |
| index 76ca74877a391c9670ef8f71d68a8ed8ad131e52..d5981187b75273173732f0de107737f6c960f878 100644 |
| --- a/src/codec/SkSwizzler.h |
| +++ b/src/codec/SkSwizzler.h |
| @@ -19,6 +19,7 @@ public: |
| */ |
| enum SrcConfig { |
| kUnknown, // Invalid type. |
| + kBit, |
|
scroggo
2015/07/29 17:47:12
Should there be a comment explaining what kBit mea
msarett
2015/07/29 18:53:57
Adding a description.
|
| kGray, |
| kIndex1, |
| kIndex2, |
| @@ -76,6 +77,7 @@ public: |
| */ |
| static int BitsPerPixel(SrcConfig sc) { |
| switch (sc) { |
| + case kBit: |
| case kIndex1: |
| return 1; |
| case kIndex2: |