diff options
author | msarett <msarett@google.com> | 2016-04-25 09:30:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-25 09:30:24 -0700 |
commit | ac6c75056f1e8e5a5d7c3c4b64df4113368d9c31 (patch) | |
tree | b9e47734e0257d0b6e2c52ded5b2785c580636f6 /include/codec | |
parent | d51bdae4e145bfede693f97cf0d54a56d33d3c9e (diff) |
Remove SkEncodedInfo kUnknown_Color and kUnknown_Alpha from public API
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1918873002
Review URL: https://codereview.chromium.org/1918873002
Diffstat (limited to 'include/codec')
-rw-r--r-- | include/codec/SkEncodedInfo.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/codec/SkEncodedInfo.h b/include/codec/SkEncodedInfo.h index 60bfdc5a1e..27511e1e93 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) |