Index: include/codec/SkEncodedInfo.h |
diff --git a/include/codec/SkEncodedInfo.h b/include/codec/SkEncodedInfo.h |
index 60bfdc5a1e5b02ec765f468d56cd7bcc7b2efa0f..27511e1e930212a1374ad22260ab159e6bc15d4f 100644 |
--- a/include/codec/SkEncodedInfo.h |
+++ b/include/codec/SkEncodedInfo.h |
@@ -21,10 +21,6 @@ public: |
// Each pixel is either fully opaque or fully transparent. |
// There is no difference between requesting kPremul or kUnpremul. |
kBinary_Alpha, |
- |
- // Allows us to have a default constructor. Should be treated as |
- // invalid. |
- kUnknown_Alpha, |
}; |
/* |
@@ -72,10 +68,6 @@ public: |
// Used internally to indicate that the decoding library has |
// pre-swizzled to the desired output format. |
kPreSwizzled_Color, |
- |
- // Allows us to have a default constructor. Should be treated as |
- // invalid. |
- kUnknown_Color, |
}; |
static SkEncodedInfo Make(Color color, Alpha alpha, int bitsPerComponent) { |
@@ -195,12 +187,6 @@ public: |
} |
} |
- SkEncodedInfo() |
- : fColor(kUnknown_Color) |
- , fAlpha(kUnknown_Alpha) |
- , fBitsPerComponent(0) |
- {} |
- |
private: |
SkEncodedInfo(Color color, Alpha alpha, uint8_t bitsPerComponent) |