aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-04-25 09:30:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-25 09:30:24 -0700
commitac6c75056f1e8e5a5d7c3c4b64df4113368d9c31 (patch)
treeb9e47734e0257d0b6e2c52ded5b2785c580636f6 /include/codec
parentd51bdae4e145bfede693f97cf0d54a56d33d3c9e (diff)
Remove SkEncodedInfo kUnknown_Color and kUnknown_Alpha from public API
Diffstat (limited to 'include/codec')
-rw-r--r--include/codec/SkEncodedInfo.h14
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)