aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-13 15:04:50 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-13 15:04:50 +0000
commit1a033fb55e6e638dcc793a1d2fbe43765e0ecc50 (patch)
treee36303754424b11cf93d1fdab1e4449172904d00
parentbf0001d0472d727266762c5967ec0d919a6df083 (diff)
remove (now dead code) for SK_SUPPORT_LEGACY_COLORTYPE and SK_SUPPORT_LEGACY_ALPHATYPE
BUG= Review URL: https://codereview.chromium.org/135033002 git-svn-id: http://skia.googlecode.com/svn/trunk@13043 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/core/SkImage.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index 0bff589f48..60f8bfb311 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -37,27 +37,6 @@ class SK_API SkImage : public SkRefCnt {
public:
SK_DECLARE_INST_COUNT(SkImage)
-#ifdef SK_SUPPORT_LEGACY_COLORTYPE
- typedef SkColorType ColorType;
-
- static const SkColorType kAlpha_8_ColorType = kAlpha_8_SkColorType;
- static const SkColorType kARGB_4444_ColorType = kARGB_4444_SkColorType;
- static const SkColorType kRGB_565_ColorType = kRGB_565_SkColorType;
- static const SkColorType kRGBA_8888_ColorType = kRGBA_8888_SkColorType;
- static const SkColorType kBGRA_8888_ColorType = kBGRA_8888_SkColorType;
- static const SkColorType kPMColor_ColorType = kPMColor_SkColorType;
- static const SkColorType kLastEnum_ColorType = kLastEnum_SkColorType;
-#endif
-
-#ifdef SK_SUPPORT_LEGACY_ALPHATYPE
- typedef SkAlphaType AlphaType;
-
- static const SkAlphaType kIgnore_AlphaType = kIgnore_SkAlphaType;
- static const SkAlphaType kOpaque_AlphaType = kOpaque_SkAlphaType;
- static const SkAlphaType kPremul_AlphaType = kPremul_SkAlphaType;
- static const SkAlphaType kUnpremul_AlphaType = kUnpremul_SkAlphaType;
-#endif
-
typedef SkImageInfo Info;
static SkImage* NewRasterCopy(const Info&, const void* pixels, size_t rowBytes);